API Reference > Extension Classes > ExServices Classes > OdRdFileBuf Class > OdRdFileBuf Methods > OdRdFileBuf::getBytes Method
OdRdFileBuf::getBytes Method
Syntax
C++
virtual void getBytes(void* buffer, OdUInt32 numBytes);
Parameters 
Description 
void* buffer 
[in] Character buffer.  
OdUInt32 numBytes 
[in] Number of bytes. 

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.

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