Skip to main content

read_array

Function read_array 

Source
pub fn read_array<const N: usize>(
    buf: &[u8],
) -> Result<([u8; N], &[u8]), Incomplete>
Expand description

Read a fixed-size N-byte array (e.g. a 17-byte VIN, a 6-byte EID).

ยงErrors

Incomplete if fewer than N bytes remain.