BloombergLP::bdldfp::DecimalConvertUtil::decimal128FromBID

decimal128FromBID overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Return the Decimal128 decoded from BID data at buffer.

static
Decimal128
decimal128FromBID(unsigned char const* buffer);
» more...

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

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

Return Value

native Decimal128 representation of the BID value

Parameters

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