Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
1 Aug 2011ThatsAlok 3 alternatives
Describing various method to zeroing the buffer in memory
What about this, using SSE2 assembly (32 bits):void Zero(void* Buffer, int Count){ char* Cur= (char*)Buffer; char* End= (char*)Buffer + Count; // Clear the initial unaligned bytes while (Cur < End && (Cur - (char*)0) & 0xf) { *Cur++= 0; } // Clear...
char szTest[128] = { 0 };;)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.