|Home||How To||Online Documentation||Support||Download||Order|
void *GetBinaryBuffer( size_t nMinBufLengthInBytes );
nMinBufLengthInBytes. The minimum size of the binary data buffer in bytes.
A pointer to the binary data contained in the SAString object.
GetBinaryBuffer method was implemented specially for working with binary data. This method is specially usefull for Unicode build (SA_UNICODE is defined) where character size is not equal to one byte. For non-Unicode build (default, SA_UNICODE is not defined) GetBinaryBuffer behaves identically to GetBuffer, except it casts the result to void*.
If you use the pointer returned by GetBinaryBuffer to change the string contents, you must call ReleaseBinaryBuffer before using any other SAString member functions.
The buffer memory will be freed automatically when the SAString object is destroyed.
Server specific notes
No specific information.
Problems and Questions
If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to firstname.lastname@example.org.