Skip to main content

encode_bytes

Function encode_bytes 

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

Encode s as a Python unicode-escape byte string. Every code point is representable, so this cannot fail.