Skip to main content

write_string_u32

Function write_string_u32 

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

Write a length-prefixed UTF-8 string with a u32 length prefix. Used for order-ID hash generation.