decimal128FromDPD overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Return the Decimal128 decoded from DPD data at buffer.

static
Decimal128
decimal128FromDPD(unsigned char const* buffer);

Same as the overload taking Decimal32.

static
void
decimal128FromDPD(
    Decimal128* decimal,
    unsigned char const* buffer);

Return Value

native Decimal128 representation of the DPD value

Parameters

Name

Description

buffer

buffer containing a DPD‐encoded value

decimal

receives the decoded value

Created with MrDocs