Store the specified decimal, in the variable-width encoding format, into the specified buffer and return the address one past the last byte written into the buffer. The behavior is undefined unless buffer points to a memory area with enough room to hold the encoded value (which has a maximum size of 9 bytes).
Declared in <bdldfp_decimalconvertutil.h>
static
unsigned char*
decimal64ToVariableWidthEncoding(
unsigned char* buffer,
bdldfp::Decimal64 decimal);