Skip to main content

parse

Function parse 

Source
pub fn parse(bytes: &[u8]) -> Result<Index, Error>
Expand description

Parses and checks the index of a .kime file. The data section is not hashed here, see verify.

§Errors

Error::Format naming the first problem found.

§Panics

Never. Fixed header fields are read only after the length check.