pub fn number_of_items(&self) -> Option<usize> {
        let length = self.parts.header.length() as usize;

        if length < GroupAssociationItemIterator::ITEMS_OFFSET {
            return None;
        }

        let byte_count = length - GroupAssociationItemIterator::ITEMS_OFFSET;

        if byte_count % GroupAssociationItem::SIZE != 0 {
            return None;
        }

        Some(byte_count / GroupAssociationItem::SIZE)
    }
/// Number of [GroupAssociationItem] entries
Number of [GroupAssociationItem] entries
Number of [ GroupAssociationItem ] entries
pub fn number_of_items(&self) -> Option<usize> {
        let length = self.parts.header.length() as usize;
        if length < GroupAssociationItemIterator::ITEMS_OFFSET {
            return None;
        }
        let byte_count = length - GroupAssociationItemIterator::ITEMS_OFFSET;
        if byte_count % GroupAssociationItem::SIZE != 0 {
            return None;
        }
        Some(byte_count / GroupAssociationItem::SIZE)
    }
pub fn number_of_items ( & self ) -> Option < usize > { let length = self . parts . header . length ( ) as usize ; if length < GroupAssociationItemIterator :: ITEMS_OFFSET { return None ; } let byte_count = length - GroupAssociationItemIterator :: ITEMS_OFFSET ; if byte_count % GroupAssociationItem :: SIZE != 0 { return None ; } Some ( byte_count / GroupAssociationItem :: SIZE ) }
Number of [GroupAssociationItem] entries
Number of [ GroupAssociationItem ] entries
&self
&self