BloombergLP::bdldfp::DecimalConvertUtil_IntelDfp::decimal128FromBID

Return the native value of the BID encoding at buffer.

Synopsis

Declared in <bdldfp_decimalconvertutil_inteldfp.h>

static
Decimal128
decimal128FromBID(unsigned char const* buffer);

Description

The behavior is undefined unless buffer points to a memory area at least sizeof(Decimal128) in size containing a value in BID format.

Return Value

native representation of the BID value

Parameters

NameDescription
bufferbuffer containing BID-encoded value