Function zero::read [] [src]

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

Reads a single T from input.

input must be at least as large as T.