required_utf8_bytes

Function 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.