/// Load a chunk metadata from a reader.
Load a chunk metadata from a reader.
Load a chunk metadata from a reader .
pub fn load(&mut self, r: &mut RafsIoReader) -> Result<()> {
        let mut chunk = RafsV5ChunkInfo::new();
        r.read_exact(chunk.as_mut())?;
        self.copy_from_ondisk(&chunk);
        Ok(())
    }
pub fn load ( & mut self , r : & mut RafsIoReader ) -> Result < ( ) > { let mut chunk = RafsV5ChunkInfo :: new ( ) ; r . read_exact ( chunk . as_mut ( ) ) ? ; self . copy_from_ondisk ( & chunk ) ; Ok ( ( ) ) }
Load a chunk metadata from a reader.
Load a chunk metadata from a reader .
&mut self
r
&mut RafsIoReader