BloombergLP::bdldfp::DecimalConvertUtil::decimalFromDPD

decimalFromDPD overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Same as the overload taking Decimal32.

static
void
decimalFromDPD(
    Decimal128* decimal,
    unsigned char const* buffer);
» more...

Store into decimal the value decoded from DPD data at buffer.

static
void
decimalFromDPD(
    Decimal32* decimal,
    unsigned char const* buffer);
» more...

Same as the overload taking Decimal32.

static
void
decimalFromDPD(
    Decimal64* decimal,
    unsigned char const* buffer);
» more...

Parameters

NameDescription
decimalreceives the decoded value
bufferbuffer containing a DPD-encoded value