BloombergLP::bdldfp::DecimalConvertUtil::decimalFromNetwork

decimalFromNetwork overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Same as the overload taking Decimal32.

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

Store into decimal the value decoded from network format at buffer.

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

Same as the overload taking Decimal32.

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

Return Value

address one past the last byte read

Parameters

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