BloombergLP::balber::BerUtil_IdentifierImpUtil::getIdentifierOctets

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

NameDescription
tagClassdestination for the BER tag class
tagTypedestination for the BER tag type
tagNumberdestination for the BER tag number
accumNumBytesConsumedrunning total of bytes consumed; incremented by this call
streamBufinput stream buffer