monero_io

Function read_array

Source
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]>
Expand description

Read a constant-length list of elements.