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

Synopsis

Declared in <bdldfp_decimalconvertutil.h>

static
void
decimalFromBID(
    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 BID format.

Parameters

Name

Description

decimal

receives the decoded value

buffer

buffer containing a BID‐encoded value

Created with MrDocs