pub fn read_array<R: Read, T: Debug, F: Fn(&mut R) -> Result<T>, const N: usize>( f: F, r: &mut R, ) -> Result<[T; N]>
Read a constant-length list of elements.