max_encoded_len
XuAPI
pub fn max_encoded_len(n int) intPurpose
Max encoded len.
Parameters
nint- count, length, or limit (int)
Returns
int — a value of this type
API
#encoding/ascii85Ascii85 encode/decode; z is four zero bytes.
max_encoded_lenpub fn max_encoded_len(n int) intMax encoded len.
n intint — a value of this type
encode_to_stringpub fn encode_to_string(src &string) stringEncode to a string.
src &stringstring — result string
decode_stringpub fn decode_string(src &string) stringDecode from a string. Throws on failure.
src &stringstring — result string