Function fuel_types::bytes::restore_array
source · pub fn restore_array<const N: usize>(buf: &[u8]) -> Result<([u8; N], &[u8])>
Expand description
Restore a statically sized array from a buffer, returning the array and the remainder of the buffer.