pub trait SectionReader {
    type Item;

    fn read(&mut self) -> Result<Self::Item, BinaryReaderError>;
    fn eof(&self) -> bool;
    fn original_position(&self) -> usize;
    fn range(&self) -> Range;

    fn ensure_end(&self) -> Result<(), BinaryReaderError> { ... }
}

Required Associated Types

Required Methods

Provided Methods

Implementors