Skip to main content

encode_bytes

Function encode_bytes 

Source
pub fn encode_bytes(value: &[u8], buf: &mut impl EncodeSink)
Expand description

Encode a bytes value as a varint length prefix followed by raw bytes (wire type 2).