API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > OdResBuf::getInt8 Method
OdResBuf::getInt8 Method
Syntax
C++
OdInt8 getInt8() const;

Returns the data content of the ResBuf object as 8-bit Integer value.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the Integer8 or Integer16 type.

Example of Entering and Displaying Tagged Data 

Getting and Setting Typical Data (integer 

Determining the Data Type by Group Code 

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

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