Function write_length_prefixed

Source
fn write_length_prefixed<W: Write>(writer: &mut W, value: &[u8]) -> Result<()>
Expand description

A helper function to write a length-prefixed value to a writer