[#BloombergLP-bdldfp-DecimalConvertUtil-decimal64FromMultiWidthEncodingRaw] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalConvertUtil.adoc[DecimalConvertUtil]::decimal64FromMultiWidthEncodingRaw :relfileprefix: ../../../ :mrdocs: Decode a multi‐width value of at most 5 bytes from `buffer`. == Synopsis Declared in `<bdldfp_decimalconvertutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] decimal64FromMultiWidthEncodingRaw( unsigned char const* buffer, xref:BloombergLP/bsls/Types/size_type.adoc[bsls::Types::size_type] size); ---- == Description The behavior is undefined unless `buffer` has at least `size` bytes, `size` is a valid encoding size in the `multi‐width encoding` format, and `size <= 5`. Note that this function does not support decoding values requiring a full IEEE network encoding, which is supported by the `decimal64FromMultiWidthEncoding` function. == Return Value decoded `Decimal64` value == Parameters [cols="1,4"] |=== | Name| Description | *buffer* | buffer containing a multi‐width encoding | *size* | number of encoded bytes to read |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#