getValue overloads
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.
static
int
getValue(
Header* value,
std::streambuf* streamBuf);
» more...
Load to the specified value the interpretation of the specified headerByte0 and headerByte1 as the 2 bytes that comprise an encoded extended-binary.
static
int
getValue(
Header* value,
unsigned char headerByte0,
unsigned char headerByte1);
» more...
0 on success, and a non-zero value otherwise
| 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 |