API Reference > Extension Classes > ExServices Classes > OdRdFileBuf Class
OdRdFileBuf Class
OdRdFileBufOdRdFileBuf
Syntax
C++
class OdRdFileBuf : public OdBaseFileBuf;

OdFileBuf.h

This class implements file input.

Source code provided.

 
Name 
Description 
 
This is ~OdRdFileBuf, a member of class OdRdFileBuf. 
 
This is the overview for the OdRdFileBuf constructor overload. 
 
Name 
Description 
 
Closes the file opened by this StreamBuf object. 
 
This is the overview for the createObject method overload. 
 
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 true if and only if the current position of the file pointer for this StreamBuf object is at the end of file. 
 
open 
Opens the specified file with this StreamBuf object.  
 
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.  
 
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 physical file size for the specified file associated with this StreamBuf object to the current position of the file pointer. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.