/// Seek to the given virtual offset in the file
Seek to the given virtual offset in the file
Seek to the given virtual offset in the file
fn seek(&mut self, offset: i64) -> Result<(), SeekError> {
        let ret = unsafe { htslib::bgzf_seek(self.bgzf(), offset, libc::SEEK_SET) };
        if ret == 0 {
            Ok(())
        } else {
            Err(SeekError::Some)
        }
    }
fn seek ( & mut self , offset : i64 ) -> Result < ( ) , SeekError > { let ret = unsafe { htslib :: bgzf_seek ( self . bgzf ( ) , offset , libc :: SEEK_SET ) } ; if ret == 0 { Ok ( ( ) ) } else { Err ( SeekError :: Some ) } }
Seek to the given virtual offset in the file
Seek to the given virtual offset in the file
&mut self
offset
i64