Return whether size is valid for multi-width encoding.
Declared in <bdldfp_decimalconvertutil.h>
static
bool
isValidMultiWidthSize(bsls::Types::size_type size);
Note that valid encoding sizes are 1, 2, 3, 4, 5 and 8 bytes.
true if size is a valid multi-width size
| Name | Description |
|---|---|
| size | candidate encoding size in bytes |