decimalFromNetwork overloads
Declared in <bdldfp_decimalconvertutil.h>
Same as the related overload above for decimalFromNetwork.
static
unsigned char const*
decimalFromNetwork(
Decimal128* decimal,
unsigned char const* buffer);
» more...
Store into the specified decimal, the value of the same size base-10 floating-point value stored in network format at the specified buffer address and return the address one past the last byte read from buffer. The network format is defined as big endian byte order and densely packed base-10 significand encoding. This corresponds to the way IBM hardware represents these numbers in memory. The behavior is undefined unless buffer points to a memory area at least sizeof(decimal) bytes. Note that these functions always return buffer + sizeof(decimal) on the supported 8-bits-byte architectures.
static
unsigned char const*
decimalFromNetwork(
Decimal32* decimal,
unsigned char const* buffer);
» more...
Same as the related overload above for decimalFromNetwork.
static
unsigned char const*
decimalFromNetwork(
Decimal64* decimal,
unsigned char const* buffer);
» more...