API Reference > Other Classes > OdStreamBuf Class
OdStreamBuf Class
OdStreamBufOdStreamBufOdStreamBufOdStreamBuf
Syntax
C++
class OdStreamBuf : public OdRxObject;

OdStreamBuf.h

This class is the base class for classes that provide platform-dependent I/O for the ODA Platform. 

Corresponding C++ library: TD_Root

 
Name 
Description 
 
Copies the specified bytes from this StreamBuf object to the specified StreamBuf object.  
 
Returns the name of the file associated with this StreamBuf object. 
 
Returns the byte at the current position of the file pointer for this StreamBuf object, and increments the pointer. 
 
Returns the specified number of bytes, starting at the current position of the file pointer for this StreamBuf object, and increments the pointer by numBytes.  
 
Returns the share mode for this StreamBuf object. 
 
Returns true if and only if the current position of the file pointer for this StreamBuf object is at the end of file. 
 
Returns the length in bytes of the file associated with this StreamBuf object. 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdStreamBuf. 
 
Writes the byte to the current position of the file pointer for this StreamBuf object, and increments the pointer.  
 
Writes the specified number of bytes, starting at the current position of the file pointer for this StreamBuf object, and increments the pointer by numBytes.  
 
Sets the current position of the file pointer for this StreamBuf object to zero. 
 
seek 
Moves the current position of the file pointer for this StreamBuf object to the specified location.
 
 
tell 
Returns the current position of the file pointer for this StreamBuf object. 
 
Sets the length of the file associated with this StreamBuf object to zero. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.