API Reference > Other Classes > OdPlatformStreamer Class
OdPlatformStreamer Class
OdPlatformStreamer
Syntax
C++
class OdPlatformStreamer;

OdPlatformStreamer.h

This class implements platform dependent stream I/O for various data types.

 
Name 
Description 
 
Extracts a Unicode string from buffer, and returns it as an OdString.
 
 
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.
 
 
Reads two doubles from the specified StreamBuf object.  
 
Reads three doubles from the specified StreamBuf object.  
 
Reads a double from the specified StreamBuf object.  
 
Reads the specified number of doubles from the specified StreamBuf object.  
 
Reads a 32-bit floating point number from the specified StreamBuf object.  
 
Reads a 16-bit integer from the specified StreamBuf object.  
 
Reads a 32-bit integer from the specified StreamBuf object.  
 
Reads a 64-bit integer from the specified StreamBuf object.  
 
Inverse of wrString. 
 
Writes two doubles to the specified StreamBuf object.  
 
Writes three doubles to the specified StreamBuf object.  
 
Writes a double to the specified StreamBuf object.  
 
Writes the specified number of doubles to the specified StreamBuf object.  
 
Writes a 32-bit floating point number to the specified StreamBuf object.  
 
Writes a 16-bit integer to the specified StreamBuf object.  
 
Writes a 32-bit integer to the specified StreamBuf object.  
 
Writes a 64-bit integer to the specified StreamBuf object.  
 
Same as putUnicodeStrToBuffer, but writes to a stream, prepending string length. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.