BloombergLP::bdldfp::DecimalConvertUtil::decimalFromBID

decimalFromBID overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Same as the overload taking Decimal32.

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

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

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

Same as the overload taking Decimal32.

static
void
decimalFromBID(
    Decimal64* decimal,
    unsigned char const* buffer);
» more...

Parameters

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