BloombergLP::balber::BerUtil_IntegerImpUtil::getNumOctetsToStream

getNumOctetsToStream overloads

Synopses

Declared in <balber_berutil.h>

Component-private BER utility operation.

static
int
getNumOctetsToStream(int value);
» more...

Component-private BER utility operation.

static
int
getNumOctetsToStream(long long value);
» more...

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

static
int
getNumOctetsToStream(short value);
» more...

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

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

Return Value

number of octets required to BER-encode the value

Parameters

NameDescription
valuevalue to encode