Function serde_json::read::push_wtf8_codepoint

source ยท
fn push_wtf8_codepoint(n: u32, scratch: &mut Vec<u8>)
Expand description

Adds a WTF-8 codepoint to the end of the buffer. This is a more efficient implementation of String::push. The codepoint may be a surrogate.