pub fn read_file_header(bytes: &[u8]) -> MidiResult<(FileHeader, &[u8])>Expand description
A file’s header off the front of bytes, and what follows it. A
format past 1 is refused, after it is read: the error carries it.
pub fn read_file_header(bytes: &[u8]) -> MidiResult<(FileHeader, &[u8])>A file’s header off the front of bytes, and what follows it. A
format past 1 is refused, after it is read: the error carries it.