pub fn append_unicode_to_storage(storage: &mut Vec<u8>, cp: u32)Expand description
Encode cp into storage like the lexer’s appendUnicodeToStorage
(JSLexer.h:1125-1143): code points above 0xFFFF are first split into a
UTF-16 surrogate pair, and each surrogate is encoded individually into UTF-8
(technically invalid UTF-8 / WTF-8, which JS string & identifier storage
allows).