Skip to main content

write_string

Function write_string 

Source
pub fn write_string(buf: &mut Vec<u8>, s: &str)
Expand description

Appends a length-prefixed UTF-8 string (u32 length + bytes).