Decode BER identifier octets from streamBuf.
Declared in <balber_berutil.h>
static
int
getIdentifierOctets(
BerConstants::TagClass* tagClass,
BerConstants::TagType* tagType,
int* tagNumber,
int* accumNumBytesConsumed,
std::streambuf* streamBuf);
tagNumber, respectively. Add the number of bytes consumed to the specified accumNumBytesConsumed. Return 0 on success, and a non-zero value otherwise.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| tagClass | destination for the BER tag class |
| tagType | destination for the BER tag type |
| tagNumber | destination for the BER tag number |
| accumNumBytesConsumed | running total of bytes consumed; incremented by this call |
| streamBuf | input stream buffer |