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