Skip to main content

encode_bytes

Function encode_bytes 

Source
pub fn encode_bytes(s: &Wtf8) -> Vec<u8> ⓘ
Expand description

Encode s. Code points below 0x100 stay as a Latin-1 byte; the rest become \uXXXX / \UXXXXXXXX.