Function core::char::encode_utf8_rawUnstable
[-] [+]
[src]
pub fn encode_utf8_raw(code: u32, dst: &mut [u8]) -> Option<usize>
Encodes a raw u32 value as UTF-8 into the provided byte buffer, and then returns the number of bytes written.
If the buffer is not large enough, nothing will be written into it
and a None
will be returned.