BloombergLP::bdldfp::DecimalConvertUtil::decimal32FromBID

decimal32FromBID overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Return the Decimal32 decoded from BID data at buffer.

static
Decimal32
decimal32FromBID(unsigned char const* buffer);
» more...

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

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

Return Value

native Decimal32 representation of the BID value

Parameters

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