/// Read a range of data from blob into the provided writer
Read a range of data from blob into the provided writer
Read a range of data from blob into the provided writer
pub fn read_to(&self, w: &mut dyn ZeroCopyWriter, desc: RafsBioDesc) -> io::Result<usize> {
        let mut count: usize = 0;
        for bio in desc.bi_vec.iter() {
            let mut f = RafsBioDevice::new(bio, &self)?;
            count += w.write_from(&mut f, bio.size, bio.offset as u64)?;
        }
        Ok(count)
    }
pub fn read_to ( & self , w : & mut dyn ZeroCopyWriter , desc : RafsBioDesc ) -> io :: Result < usize > { let mut count : usize = 0 ; for bio in desc . bi_vec . iter ( ) { let mut f = RafsBioDevice :: new ( bio , & self ) ? ; count += w . write_from ( & mut f , bio . size , bio . offset as u64 ) ? ; } Ok ( count ) }
Read a range of data from blob into the provided writer
Read a range of data from blob into the provided writer
&self
w
&mut dyn ZeroCopyWriter
desc
RafsBioDesc