Quick Links:

bal | bbl | bdl | bsl

Public Types | Static Public Member Functions

balber::BerUtil_IdentifierImpUtil Struct Reference

#include <balber_berutil.h>

List of all members.

Public Types

typedef BerUtil_Constants Constants

Static Public Member Functions

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

Detailed Description

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

See Component balber_berutil


Member Typedef Documentation


Member Function Documentation

static int balber::BerUtil_IdentifierImpUtil::getIdentifierOctets ( BerConstants::TagClass tagClass,
BerConstants::TagType tagType,
int *  tagNumber,
int *  accumNumBytesConsumed,
bsl::streambuf *  streamBuf 
) [static]

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.

static int balber::BerUtil_IdentifierImpUtil::putIdentifierOctets ( bsl::streambuf *  streamBuf,
BerConstants::TagClass  tagClass,
BerConstants::TagType  tagType,
int  tagNumber 
) [static]

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.


The documentation for this struct was generated from the following file: