Skip to main content

header_len

Function header_len 

Source
pub fn header_len(head: &[u8]) -> Result<(usize, usize), String>
Expand description

Bytes before the header’s text, and the header’s length, from the file’s first 12 bytes; None when they are not a .npy file’s.