Skip to main content

encode_string

Function encode_string 

Source
pub fn encode_string(value: &str, buf: &mut impl EncodeSink)
Expand description

Encode a string value as a varint length prefix followed by UTF-8 bytes (wire type 2).