Return the number of octets required to provide a BER encoding of the specified value according to the specification.
Declared in <balber_berutil.h>
template<typename INTEGRAL_TYPE>
static
int
getNumOctetsToStream(INTEGRAL_TYPE value);
The program is ill-formed unless the specified INTEGRAL_TYPE is a fundamental integral type.
number of octets required to BER-encode the value
| Name | Description |
|---|---|
| value | value to encode |