Trait binrw::io::TakeSeekExt

source ·
pub trait TakeSeekExt {
    // Required method
    fn take_seek(self, limit: u64) -> TakeSeek<Self> 
       where Self: Sized;
}
Expand description

An extension trait that implements take_seek() for compatible streams.

Required Methods§

source

fn take_seek(self, limit: u64) -> TakeSeek<Self> where Self: Sized,

Creates an adapter which will read at most limit bytes from the wrapped stream.

Implementors§

source§

impl<T: Read + Seek> TakeSeekExt for T