| Home | How To | Online Documentation | Support | Download | Order |
|
|
void *GetBinaryBuffer( int nMinBufLengthInBytes ); ParametersnMinBufLengthInBytes. The minimum size of the binary data buffer in bytes. Return valueA pointer to the binary data contained in the SAString object. RemarksGetBinaryBuffer 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 notesNo specific information. See alsoProblems and QuestionsIf you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com. |
||||||||||||||||||