BloombergLP::balber::BerUtil_IdentifierImpUtil

This component-private utility struct provides a namespace for a suite of functions used by BerUtil to implement BER identifier octet encoding and decoding.

Synopsis

Declared in <balber_berutil.h>

struct BerUtil_IdentifierImpUtil;

Type Aliases

NameDescription
Constants Constants is an alias to a namespace for a suite of general-purpose constants that occur when encoding or decoding BER data.

Static Member Functions

NameDescription
getIdentifierOctets Decode the identifier octets from the specified streamBuf and load the tag class, tag type, and tag number to the specified tagClass, tagType, and tagNumber, respectively. Add the number of bytes consumed to the specified accumNumBytesConsumed. Return 0 on success, and a non-zero value otherwise.
putIdentifierOctets Encode the identifier octets for the specified tagClass, tagType and tagNumber, in that order, to the specified streamBuf. Return 0 on success, and a non-zero value otherwise.