Can I reliably use memset and memcpy operators in C++ with memory been allocated with new?
Edited:
Yes, to allocate native data type
Example
BYTE *buffer = 0;
DWORD bufferSize = _fat.GetSectorSize();
buffer = new BYTE[bufferSize];
_fat.ReadSector(streamChain[0], buffer, bufferSize);
ULONG header = 0;
memcpy(&header, buffer, sizeof(ULONG));