BDE 4.14.0 Production release
|
#include <balber_berutil.h>
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) |
This component-private utility struct
provides a namespace for a suite of functions used by BerUtil
to implement BER identifier octet encoding and decoding.
Constants
is an alias to a namespace for a suite of general-purpose constants that occur when encoding or decoding BER data.
|
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 |
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.