[#BloombergLP-bdldfp-DecimalConvertUtil-decimal64FromVariableWidthEncoding] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalConvertUtil.adoc[DecimalConvertUtil]::decimal64FromVariableWidthEncoding :relfileprefix: ../../../ :mrdocs: Decode a variable‐width `Decimal64` from `buffer` into `decimal`. == Synopsis Declared in `<bdldfp_decimalconvertutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static unsigned char const* decimal64FromVariableWidthEncoding( xref:BloombergLP/bdldfp/Decimal64.adoc[bdldfp::Decimal64]* decimal, unsigned char const* buffer); ---- == Description The behavior is undefined unless `buffer` points to a memory area holding a `Decimal64` value encoded in the _variable‐width encoding_ format. == Return Value address one past the last byte read == Parameters [cols="1,4"] |=== | Name| Description | *decimal* | receives the decoded value | *buffer* | buffer containing a variable‐width encoding |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#