Return true if a date and/or time value must be encoded using either its corresponding extended‐binary‐encoding format or its corresponding.

Synopsis

Declared in <balber_berutil.h>

static
bool
useBinaryEncoding(BerEncoderOptions const* options);

Description

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.

Return Value

true if date/time values must use binary encoding per options, and false otherwise

Parameters

Name

Description

options

encoder options (0 for defaults)

Created with MrDocs