Function irox_bits::utf::encode_be_utf8_char
source ยท pub fn encode_be_utf8_char(val: char, buf: &mut [u8; 4]) -> Result<&[u8], Error>Expand description
Encodes the character into the provided buffer using UTF-8. A subslice of the provided buffer is returned providing the amount of buffer actually used.