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

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;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
useBinaryEncoding(xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----


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