Skip to main content

read_schema_ranged

Function read_schema_ranged 

Source
pub fn read_schema_ranged<R>(
    reader: &R,
) -> Result<Option<SchemaMeta>, FileError>
where R: RangeReader + ?Sized,
Expand description

Read and decode a file’s SCHEMA section over a RangeReader — the header and one range. Ok(None) when the file has none (or it is malformed: the section is optional and derived).