[#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: 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. == 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. [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. [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..._]# == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *value* | destination for the decoded value | *streamBuf* | input stream buffer | *length* | number of content octets |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#