[#BloombergLP-balber-BerUtil_IntegerImpUtil-getIntegerValue-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_IntegerImpUtil.adoc[BerUtil_IntegerImpUtil]::getIntegerValue :relfileprefix: ../../../ :mrdocs: `getIntegerValue` overloads == Synopses Declared in `<balber_berutil.h>` Read the specified `length` number of bytes from the input sequence of the specified `streamBuf` and load to the specified `value` the interpretation of those bytes as the contents octets of a BER‐encoded integer value according to the specification. Return 0 if successful, and a non‐zero value otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getIntegerValue-0d.adoc[getIntegerValue]( long long* value, std::streambuf* streamBuf, int length); ---- [.small]#xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getIntegerValue-0d.adoc[_» more..._]# Read the specified `length` number of bytes from the input sequence of the specified `streamBuf` and load to the specified `value` the interpretation of those bytes as the contents octets of BER‐encoded integer value according to the specification. Return 0 if successful, and a non‐zero value otherwise. The operation succeeds if `length` bytes are successfully read from the input sequence of the `streamBuf` without the read position becoming unavailable, and the bytes read contain a valid representation of the contents octets of an integer value according to the specification. The program is ill‐formed unless the specified `INTEGRAL_TYPE` is a fundamental integral type. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename INTEGRAL_TYPE> static int xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getIntegerValue-04.adoc[getIntegerValue]( INTEGRAL_TYPE* value, std::streambuf* streamBuf, int length); ---- [.small]#xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getIntegerValue-04.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#