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

Synopsis

Declared in <bdldfp_decimalconvertutil.h>

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

Description

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

Parameters

Name

Description

decimal

receives the decoded value

buffer

buffer containing a DPD‐encoded value

Created with MrDocs