Function zero::read

source · []
pub fn read<'a, T: Pod>(input: &'a [u8]) -> &'a T
Expand description

Reads a single T from input.

input must be at least as large as T.