[#BloombergLP-balber-BerEncoder-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerEncoder.adoc[BerEncoder]::BerEncoder :relfileprefix: ../../../ :mrdocs: Construct an encoder object. 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. == Synopsis Declared in `<balber_berencoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- BerEncoder( xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options = 0, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#