fn store_read_range_internal(&self, start: usize, end: usize) -> Result<Vec<u8>> {
        let read_len = end - start;
        let mut read_data = vec![0; read_len];

        ensure!(
            start <= self.data_width * self.elem_len || start >= self.cache_index_start,
            "out of bounds"
        );

        self.file
            .read_exact_at(start as u64, &mut read_data)
            .with_context(|| {
                format!(
                    "failed to read {} bytes from file at offset {}",
                    read_len, start
                )
            })?;

        Ok(read_data)
    }
// This read is for internal use only during the 'build' process.
This read is for internal use only during the 'build' process.
This read is for internal use only during the ' build ' process .
fn store_read_range_internal(&self, start: usize, end: usize) -> Result<Vec<u8>> {
        let read_len = end - start;
        let mut read_data = vec![0; read_len];
        ensure!(
            start <= self.data_width * self.elem_len || start >= self.cache_index_start,
            "out of bounds"
        );
        self.file
            .read_exact_at(start as u64, &mut read_data)
            .with_context(|| {
                format!(
                    "failed to read {} bytes from file at offset {}",
                    read_len, start
                )
            })?;
        Ok(read_data)
    }
fn store_read_range_internal ( & self , start : usize , end : usize ) -> Result < Vec < u8 > > { let read_len = end - start ; let mut read_data = vec ! [ 0 read_len ] ; ensure ! ( start self data_width self elem_len start self cache_index_start " " ) ; self . file . read_exact_at ( start as u64 , & mut read_data ) . with_context ( | | { format ! ( " " read_len start ) } ) ? ; Ok ( read_data ) }
This read is for internal use only during the 'build' process.
This read is for internal use only during the ' build ' process .
&self
start
usize
end
usize