BloombergLP::bdldfp::DecimalConvertUtil::decimal32ToNetwork

Store decimal in network format into buffer.

Synopsis

Declared in <bdldfp_decimalconvertutil.h>

static
unsigned char*
decimal32ToNetwork(
    unsigned char* buffer,
    Decimal32 decimal);

Return Value

address one past the last byte written

Parameters

NameDescription
bufferreceives the network encoding
decimalvalue to encode