BloombergLP::balber::BerEncoder_UseArrayLengthHintGuard

This class serves the purpose to set and reset the value of d_useArrayLengthHint.

Synopsis

Declared in <balber_berencoder.h>

class BerEncoder_UseArrayLengthHintGuard;

Member Functions

NameDescription
BerEncoder_UseArrayLengthHintGuard [constructor]Set the array-length-hint flag of the specified encoder to the specified value, restoring the previous value on destruction.
~BerEncoder_UseArrayLengthHintGuard [destructor]Restore the previous array-length-hint setting of the held encoder.