pub trait SeekStream {
    fn seek(&mut self, to: usize) -> BinaryResult<usize>;
    fn tell(&mut self) -> BinaryResult<usize>;
    fn len(&self) -> BinaryResult<usize>;
}
Expand description

Trait for streams that can seek.

Required Methods

Seek to a position.

Get the current position.

Get the length of the stream.

Implementors