pub const MAX_LEN_UTF8: usize = char::MAX_LEN_UTF8; // 4usize
🔬This is a nightly-only experimental API. (
char_max_len
#121714)Available on non-crate feature
ferrocene_certified
only.Expand description
The maximum number of bytes required to encode a char
to
UTF-8 encoding.