Function alkahest::read [−][src]
pub fn read<'a, T>(bytes: &'a [u8]) -> Unpacked<'a, T> where
T: Schema,
Expand description
Reads and unpacks package from raw bytes.
Panics
This function or returned value’s methods may panic
if bytes
slice does not contain data written with same schema.