nethsm_backup

Function read_field

source
pub(crate) fn read_field(reader: &mut impl Read) -> Result<Vec<u8>>
Expand description

Read a byte vector from the underlying reader.

A byte vector is always stored as a usize (see read_usize) and then a number of bytes.