/// Get blob table size, aligned with RAFS_ALIGNMENT bytes
Get blob table size, aligned with RAFS_ALIGNMENT bytes
Get blob table size aligned with RAFS_ALIGNMENT bytes
pub fn size(&self) -> usize {
        if self.entries.is_empty() {
            return 0;
        }
        // Blob entry split with '\0'
        rafsv5_align(
            self.entries.iter().fold(0usize, |size, entry| {
                let entry_size = size_of::<u32>() * 2 + entry.blob_id().len();
                size + entry_size + 1
            }) - 1,
        )
    }
pub fn size ( & self ) -> usize { if self . entries . is_empty ( ) { return 0 ; } // Blob entry split with '\0' rafsv5_align ( self . entries . iter ( ) . fold ( 0usize , | size , entry | { let entry_size = size_of :: < u32 > ( ) * 2 + entry . blob_id ( ) . len ( ) ; size + entry_size + 1 } ) - 1 , ) }
Get blob table size, aligned with RAFS_ALIGNMENT bytes
Get blob table size aligned with RAFS_ALIGNMENT bytes
&self