Store the specified decimal, in the multi-width encoding format, into the specified buffer and return the number of bytes used by the encoding. The behavior is undefined unless buffer points to a memory area with enough room to hold the encode value (which has a maximum size of 8 bytes).
Declared in <bdldfp_decimalconvertutil.h>
static
bsls::Types::size_type
decimal64ToMultiWidthEncoding(
unsigned char* buffer,
bdldfp::Decimal64 decimal);