I'm running into major delays copying blocks of binary data into CByteArray manually. Wouldn't it seem logical to provide a way to fastload a cba, to wit:

CByteArray cba;
cba.SetSize(8192);
memcpy(cba.GetBuffer(0), (LPBYTE) p, cba.GetSize());

Does some facility like this exist? Or am I just missing the incredibly obvious...

Thx, Dave Minor
mailto[email protected]