BloombergLP::balber::BerUtil_ExtendedBinaryEncodingUtil

This component-private utility struct provides a namespace for a suite of functions used by BerUtil to determine if a particular date and/or time value should be encoded using its corresponding extended-binary-encoding format, its corresponding compact-binary-encoding format, or neither format.

Synopsis

Declared in <balber_berutil.h>

struct BerUtil_ExtendedBinaryEncodingUtil;

Type Aliases

NameDescription
Encoding Encoding is an alias to a namespace for enumerating the union of the sets of date and time formats used to encode and decode all date and time types supported by BerUtil.

Static Member Functions

NameDescription
useBinaryEncoding Return true if a date and/or time value must be encoded using either its corresponding extended-binary-encoding format or its corresponding compact-binary-encoding format according to the specified options, and return false otherwise. Note that, for any given value and options, the value must be encoded using its corresponding compact-binary-encoding format if useExtendedBinaryEncoding(value, options) returns false and useBinaryEncoding(options) returns true.
useExtendedBinaryEncoding useExtendedBinaryEncoding overloads