API Reference > Other Classes > OdDgResBuf Class > OdDgResBuf Methods > OdDgResBuf::getBinaryChunk Method
OdDgResBuf::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–2021. Open Design Alliance. All rights reserved.