API Reference > Other Classes > OdPlatformStreamer Class > OdPlatformStreamer Methods > OdPlatformStreamer::putUnicodeStrToBuffer Method
OdPlatformStreamer::putUnicodeStrToBuffer Method
Syntax
C++
static inline void putUnicodeStrToBuffer(const OdString& val, OdUInt8*& buffer);
Parameters 
Description 
const OdString& val 
[in] Unicode string to be written.  
OdUInt8*& buffer 
[in] Char buffer to which will receive the Unicode data. 

Writes a Unicode string to the passed in buffer, in little endian format, using 2 bytes per character. The trailing null character is NOT written. 

 

The buffer pointer is incremented to the next byte past the string that was written.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.