/// To allow users to flush a block, they can store a record that indicates the rest of the
/// block should be skipped.  When that record is read, users should call this function.
To allow users to flush a block, they can store a record that indicates the rest of the
block should be skipped.  When that record is read, users should call this function.
To allow users to flush a block they can store a record that indicates the rest of the block should be skipped . When that record is read users should call this function .
pub fn skip_to_end_of_block(&mut self) {
        let block_offset = self.buf_file_offset % self.block_size;
        if block_offset > 0 {
            self.consume(
                (self.block_size - block_offset) as usize - std::mem::size_of::<Checksum>(),
            );
        }
    }
pub fn skip_to_end_of_block ( & mut self ) { let block_offset = self . buf_file_offset % self . block_size ; if block_offset > 0 { self . consume ( ( self . block_size - block_offset ) as usize - std :: mem :: size_of :: < Checksum > ( ) , ) ; } }
To allow users to flush a block, they can store a record that indicates the rest of the
block should be skipped.
To allow users to flush a block they can store a record that indicates the rest of the block should be skipped .
&mut self