Encode the JSON representation of the char array value.
Declared in <baljsn_encodeimplutil.h>
static
int
encodeCharArray(
FORMATTER* formatter,
bsl::vector<char> const& value,
EncoderOptions const& options);
Encode the JSON representation of the specified value to the specified JSON formatter. Use the specified options to configure aspects of the JSON representation of the value. Return 0 on success, and a non-zero value otherwise.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| formatter | JSON formatter that receives the encoded tokens |
| value | char array to encode as Base64 |
| options | encoding options |