Return the Decimal128 decoded from DPD data at buffer.

Synopsis

Declared in <bdldfp_decimalconvertutil.h>

static
Decimal128
decimal128FromDPD(unsigned char const* buffer);

Description

The behavior is undefined unless buffer points to a memory area at least sizeof(Decimal128) in size containing a value in DPD format.

Return Value

native Decimal128 representation of the DPD value

Parameters

Name

Description

buffer

buffer containing a DPD‐encoded value

Created with MrDocs