[#BloombergLP-bdldfp-DecimalConvertUtil-decimal64FromMultiWidthEncoding]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalConvertUtil.adoc[DecimalConvertUtil]::decimal64FromMultiWidthEncoding
:relfileprefix: ../../../
:mrdocs:

Decode a multi&hyphen;width encoded `Decimal64` from `buffer`&period;

== Synopsis

Declared in `&lt;bdldfp&lowbar;decimalconvertutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64]
decimal64FromMultiWidthEncoding(
    unsigned char const* buffer,
    xref:BloombergLP/bsls/Types/size_type.adoc[bsls::Types::size&lowbar;type] size);
----

== Description

The behavior is undefined unless `buffer` has at least `size` bytes, and `size` is a valid encoding size in the `multi&hyphen;width encoding` format&period;

== Return Value

decoded `Decimal64` value

== Parameters

[cols="1,4"]
|===
| Name| Description
| *buffer*
| buffer containing a multi&hyphen;width encoding
| *size*
| number of encoded bytes to read
|===


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