Function zero::read_array

source ·
pub fn read_array<T: Pod>(input: &[u8]) -> &[T]
Expand description

Read an array of Ts from input.

input must contain an exact number of Ts, there must be no extra bytes after the last T. T may not be zero-sized.