Return the number of octets required to provide a BER encoding of the specified value according to the specification.

Synopsis

Declared in <balber_berutil.h>

template<typename INTEGRAL_TYPE>
static
int
getNumOctetsToStream(INTEGRAL_TYPE value);

Description

The program is ill‐formed unless the specified INTEGRAL_TYPE is a fundamental integral type.

Return Value

number of octets required to BER‐encode the value

Parameters

Name

Description

value

value to encode

Created with MrDocs