encode (chars, array_length (chars), string, STR_BASE64);

encode (chars, array_length (chars), string, charset, STR_CHARSET);

encode (&str, array_length (str.chars), string, STR_HEX_SPACES);

encode (&str, array_length (str.chars), string, charset, STR_CHARSET | STR_SLICE);


