API Reference > Other Classes > OdStreamBuf Class > OdStreamBuf Methods > OdStreamBuf::copyDataTo Method
OdStreamBuf::copyDataTo Method
Syntax
C++
virtual void copyDataTo(OdStreamBuf* pDestination, OdUInt64 sourceStart = 0, OdUInt64 sourceEnd = 0);
Parameters 
Description 
OdStreamBuf* pDestination 
[in] Pointer to the StreamBuf object to receive the data.  
OdUInt64 sourceStart = 0 
[in] Starting position of the file pointer of this StreamBuf object.  
OdUInt64 sourceEnd = 0 
[in] Ending position of the file pointer of this StreamBuf object. 

Copies the specified bytes from this StreamBuf object to the specified StreamBuf object.

Bytes are copied from sourceStart to sourceEnd inclusive.

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