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

Name

Description

options

optional encoder options (0 for defaults)

basicAllocator

memory allocator (0 for the default allocator)

Created with MrDocs