BloombergLP::bdldfp::DecimalConvertUtil::isValidMultiWidthSize

Return true if the specified size is a valid encoding size in the multi-width encoding format, and false otherwise. Note that valid encoding sizes are 1, 2, 3, 4, 5 and 8 bytes.

Synopsis

Declared in <bdldfp_decimalconvertutil.h>

static
bool
isValidMultiWidthSize(bsls::Types::size_type size);