Skip to main content

encode

Function encode 

Source
pub fn encode(cps: &[u32]) -> String
Expand description

Re-encode a Vec<u32> to a String. Any code point that does not round-trip through char::from_u32 (surrogates, > U+10FFFF) is silently dropped - they cannot appear in our tables, but defensive coding keeps from_u32_unchecked out of the picture.