Skip to main content

parse_index

Function parse_index 

Source
pub fn parse_index(data: &[u8]) -> Result<RecycleBinIndex, Error>
Expand description

Parse the raw bytes of a $I index file.

§Errors

Returns [Error] when the data is truncated, carries an unsupported version, or (version 2) declares a filename length that overflows the buffer or the safety cap. Never panics on hostile input.