Reads a byte array from the input stream
size_t ReadByteArray( char*& byteArray ); |
A reference to a pointer which will be set to a new array of characters, containing the stored byte array. The array will be of the size returned by the function.
The function returns the number if bytes in the restored byte array, or 0 if the function failed.
If the function succeeds, and byteArray is set to a non-null value, it must be released after use:
if (byteArray) delete[] byteArray;
Header: xlserialize.h
CXlIStream Class | CXlIStream Methods | CXlOStream::WriteByteArray