pub fn seek_raw(&mut self, pos: SeekFrom) -> Result<u64> {
        match self.reader.seek(pos) {
            Ok(offset) => {
                self.offset = Some(ByteOffset(offset));
                Ok(offset)
            },
            Err(e) => {
                self.offset = None;
                Err(e.into())
            },
        }
    }
/// Seek to an offset in bytes. (See `std::io::Seek`)
Seek to an offset in bytes.
Seek to an offset in bytes .
pub fn seek_raw(&mut self, pos: SeekFrom) -> Result<u64> {
        match self.reader.seek(pos) {
            Ok(offset) => {
                self.offset = Some(ByteOffset(offset));
                Ok(offset)
            },
            Err(e) => {
                self.offset = None;
                Err(e.into())
            },
        }
    }
pub fn seek_raw ( & mut self , pos : SeekFrom ) -> Result < u64 > { match self . reader . seek ( pos ) { Ok ( offset ) => { self . offset = Some ( ByteOffset ( offset ) ) ; Ok ( offset ) } , Err ( e ) => { self . offset = None ; Err ( e . into ( ) ) } , } }
Seek to an offset in bytes.
Seek to an offset in bytes .
&mut self
pos
SeekFrom
&mut self
pos
SeekFrom