/// Set filename for the inode.
Set filename for the inode.
Set filename for the inode .
pub fn load_file_name(&self, r: &mut RafsIoReader) -> Result<OsString> {
        let mut name_buf = vec![0u8; self.i_name_size as usize];
        r.read_exact(name_buf.as_mut_slice())?;
        r.seek_to_next_aligned(name_buf.len(), RAFSV5_ALIGNMENT)?;
        Ok(bytes_to_os_str(&name_buf).to_os_string())
    }
pub fn load_file_name ( & self , r : & mut RafsIoReader ) -> Result < OsString > { let mut name_buf = vec ! [ 0u8 self i_name_size as usize ] ; r . read_exact ( name_buf . as_mut_slice ( ) ) ? ; r . seek_to_next_aligned ( name_buf . len ( ) , RAFSV5_ALIGNMENT ) ? ; Ok ( bytes_to_os_str ( & name_buf ) . to_os_string ( ) ) }
Set filename for the inode.
Set filename for the inode .
&self
r
&mut RafsIoReader