Function irox_bits::utf::required_utf8_bytes

source ยท
pub fn required_utf8_bytes(val: char) -> usize
Expand description

Returns the number of required bytes to store the specified character in UTF-8.