Decode a variable‐width Decimal64 from buffer into decimal.

Synopsis

Declared in <bdldfp_decimalconvertutil.h>

static
unsigned char const*
decimal64FromVariableWidthEncoding(
    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

Name

Description

decimal

receives the decoded value

buffer

buffer containing a variable‐width encoding

Created with MrDocs