[#BloombergLP-balber-BerUtil_DateAndTimeHeaderImpUtil-getValueIfNotReserved-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil.adoc[BerUtil&lowbar;DateAndTimeHeaderImpUtil]::getValueIfNotReserved
:relfileprefix: ../../../
:mrdocs:

`getValueIfNotReserved` overloads

== Synopses

Declared in `&lt;balber&lowbar;berutil&period;h&gt;`

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&hyphen;binary&period;


[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&period;&period;&period;_]#

Load to the specified `value` the interpretation of the specified `headerByte0` and `headerByte1` as the 2 bytes that comprise an encoded extended&hyphen;binary&period;


[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&period;&period;&period;_]#

== Return Value

0 on success, and a non&hyphen;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&hyphen;binary header
| *headerByte1*
| second byte of an extended&hyphen;binary header
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
