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

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

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

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