API Reference > Other Classes > OdStreamBuf Class > OdStreamBuf Methods > OdStreamBuf::putBytes Method
OdStreamBuf::putBytes Method
Syntax
C++
virtual void putBytes(const void* buffer, OdUInt32 numBytes);
Parameters 
Description 
const void* buffer 
[in] Character buffer.  
OdUInt32 numBytes 
[in] Number of bytes. 

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.

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