Utilities for BER byte‐value encoding and decoding.

Synopsis

Declared in <balber_berutil.h>

struct BerUtil_CharacterImpUtil;

Description

This component‐private utility struct provides a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for byte values. Within the definition of this struct:

* the specification: > Refers to the August 2015 revision of the ITU‐T Recommendation X.690.

Type Aliases

Name

Description

IntegerUtil

IntegerUtil is an alias to a namespace for a suite of functions used to implement BER encoding and decoding operations for integer values.

LengthUtil

LengthUtil is an alias to a namespace for a suite of functions used to implement BER encoding and decoding operations for length quantities.

Static Member Functions

Name

Description

getCharValue

Read the specified length number of bytes from the input sequence of the specified streamBuf and load to the specified value the interpretation of those.

getSignedCharValue

Read the specified length number of bytes from the input sequence of the specified streamBuf and load to the specified value the interpretation of those.

getUnsignedCharValue

Read the specified length number of bytes from the input sequence of the specified streamBuf and load to the specified value the interpretation of those.

putCharValue

Write the length and contents octets of the BER encoding of the specified integer value (as defined in the specification) to the output sequence of the.

putSignedCharValue

Write the length and contents octets of the BER encoding of the specified integer value (as defined in the specification) to the output sequence of the.

putUnsignedCharValue

Write the length and contents octets of the BER encoding of the specified integer value (as defined in the specification) to the output sequence of the.

Created with MrDocs