BloombergLP::balber::BerEncoder::BerEncoder

Construct an encoder object.

Synopsis

Declared in <balber_berencoder.h>

BerEncoder(
    BerEncoderOptions const* options = 0,
    bslma::Allocator* basicAllocator = 0);

Description

Optionally specify encoder options. If options is 0, BerEncoderOptions() is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
optionsoptional encoder options (0 for defaults)
basicAllocatormemory allocator (0 for the default allocator)