pub fn character_string_len(value: &str) -> Result<u32, Error>
Return the encoded length of a character string (charset byte + UTF-8 bytes). Only with alloc: the sink encoders refuse an over-long string with SinkFull instead.
alloc
SinkFull