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.
Synopsis
Declared in <balber_berutil.h>
static
int
getValue(
Header* value,
std::streambuf* streamBuf);
Description
header value Return 0 on success, and a non‐zero value otherwise. The behavior is undefined if 2 bytes are successfully read from the streamBuf, but the interpretation of those bytes as an extended‐binary header indicates the value is in a format reserved for future use.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
value |
destination for the decoded value |
streamBuf |
input stream buffer |
Created with MrDocs