BloombergLP::bdldfp::DecimalConvertUtil::decimalToBID

decimalToBID overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Same as the overload taking Decimal32.

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

Populate buffer with the BID representation of decimal.

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

Same as the overload taking Decimal32.

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

Parameters

NameDescription
bufferreceives the BID encoding
decimalvalue to encode