[#BloombergLP-balber-BerUtil_DateAndTimeHeaderImpUtil-getValueIfNotReserved-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil.adoc[BerUtil_DateAndTimeHeaderImpUtil]::getValueIfNotReserved :relfileprefix: ../../../ :mrdocs: `getValueIfNotReserved` overloads == Synopses Declared in `<balber_berutil.h>` Read 2 bytes from the input sequence of the specified `streamBuf` and load to the specified `value` the interpretation of those bytes as an extended‐binary. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/getValueIfNotReserved-06.adoc[getValueIfNotReserved]( xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/Header.adoc[Header]* value, std::streambuf* streamBuf); ---- [.small]#xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/getValueIfNotReserved-06.adoc[_» more..._]# Load to the specified `value` the interpretation of the specified `headerByte0` and `headerByte1` as the 2 bytes that comprise an encoded extended‐binary. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/getValueIfNotReserved-0a.adoc[getValueIfNotReserved]( xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/Header.adoc[Header]* value, unsigned char headerByte0, unsigned char headerByte1); ---- [.small]#xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/getValueIfNotReserved-0a.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 | *headerByte0* | first byte of an extended‐binary header | *headerByte1* | second byte of an extended‐binary header |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#