[#BloombergLP-balber-BerUtil_ExtendedBinaryEncodingUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::BerUtil&lowbar;ExtendedBinaryEncodingUtil
:relfileprefix: ../../
:mrdocs:

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

== Synopsis

Declared in `&lt;balber&lowbar;berutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct BerUtil&lowbar;ExtendedBinaryEncodingUtil;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balber/BerUtil_ExtendedBinaryEncodingUtil/Encoding.adoc[`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`&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balber/BerUtil_ExtendedBinaryEncodingUtil/useBinaryEncoding.adoc[`useBinaryEncoding`] 
| Return `true` if a date and&sol;or time value must be encoded using either its corresponding extended&hyphen;binary&hyphen;encoding format or its corresponding compact&hyphen;binary&hyphen;encoding format according to the specified `options`, and return `false` otherwise&period; Note that, for any given `value` and `options`, the `value` must be encoded using its corresponding compact&hyphen;binary&hyphen;encoding format if `useExtendedBinaryEncoding(value, options)` returns `false` and `useBinaryEncoding(options)` returns `true`&period;
| xref:BloombergLP/balber/BerUtil_ExtendedBinaryEncodingUtil/useExtendedBinaryEncoding-034.adoc[`useExtendedBinaryEncoding`] 
| `useExtendedBinaryEncoding` overloads
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
