Decode BER identifier octets from streamBuf.

Synopsis

Declared in <balber_berutil.h>

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

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

streamBuf

input stream buffer

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

Created with MrDocs