API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > OdResBuf::getBinaryChunk Method
OdResBuf::getBinaryChunk Method
Syntax
C++
const OdBinaryData& getBinaryChunk() const;

Returns the data content of the ResBuf object as a Binary chunk.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the BinaryChunk type.

Example of Entering and Displaying Tagged Data 

Getting and Setting Specific Data (color 

Determining the Data Type by Group Code 

OdResBuf::setBinaryChunk(), OdResBuf::restype(), OdDxfCode::_getType() methods 

OdBinaryData, OdUInt8 classes

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