Trait il2_iltags::io::std_io::SizedSeek[][src]

pub trait SizedSeek {
    fn len(&mut self) -> Result<u64>;
fn offset(&mut self) -> Result<u64>; fn is_empty(&mut self) -> Result<bool> { ... }
fn available(&mut self) -> Result<u64> { ... } }
Expand description

This trait adds the ability to check how may bytes are available.

Required methods

Length of the data.

The current offset

Provided methods

Returns true if its len() is 0.

Returns the number of bytes available for reading.

Implementors