/// Resets the read-ahead buffer, and sets the absolute stream position to `pos`.
Resets the read-ahead buffer, and sets the absolute stream position to `pos`.
Resets the read - ahead buffer and sets the absolute stream position to ` pos ` .
fn reset(&mut self, pos: u64) {
        self.read_pos = 0;
        self.write_pos = 0;
        self.read_block_len = Self::MIN_BLOCK_LEN;
        self.abs_pos = pos;
        self.rel_pos = 0;
    }
fn reset ( & mut self , pos : u64 ) { self . read_pos = 0 ; self . write_pos = 0 ; self . read_block_len = Self :: MIN_BLOCK_LEN ; self . abs_pos = pos ; self . rel_pos = 0 ; }
Resets the read-ahead buffer, and sets the absolute stream position to `pos`.
Resets the read - ahead buffer and sets the absolute stream position to ` pos ` .
&mut self
pos
u64