Decode BER identifier octets from streamBuf.

Synopsis

Declared in <balber_berutil.h>

static
int
getIdentifierOctets(
    BerConstants::TagClass* tagClass,
    BerConstants::TagType* tagType,
    int* tagNumber,
    int* accumNumBytesConsumed,
    std::streambuf* streamBuf);

Description

tagNumber, respectively. Add the number of bytes consumed to the specified accumNumBytesConsumed. Return 0 on success, and a non‐zero value otherwise.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

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

Created with MrDocs