Function il2_iltags::tags::deserialize_bytes [−][src]
pub fn deserialize_bytes(
size: usize,
reader: &mut dyn Reader
) -> Result<Vec<u8>>
Expand description
Deserializes a byte array of a given size.
Arguments:
reader
: The reader;size
: The number of bytes to read;
Returns:
- Ok(v): A vector with the bytes read;
- Err(e): In case of error;