MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getInt

Method getInt

src/common/classes/ClumpletReader.cpp:829–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827}
828
829SLONG ClumpletReader::getInt() const
830{
831 const FB_SIZE_T length = getClumpLength();
832
833 if (length > 4)
834 {
835 invalid_structure("length of integer exceeds 4 bytes", length);
836 return 0;
837 }
838
839 return fromVaxInteger(getBytes(), length);
840}
841
842double ClumpletReader::getDouble() const
843{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.45

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.36