fn check_offsets(&mut self) {
        let offset = self.offset;
        let large = match &self.entries.0 {
            Entries_::Normal(entries) => entries.iter_cloned().any(|e| (e as i64 + offset) > u32::MAX as i64),
            Entries_::Large(entries) => entries.iter_cloned().any(|e| (e as i64 + offset) > u32::MAX as i64),
        };
        if large {
            self.fourcc = FourCC::new("co64");
            self.large = true;
        }
    }
// Check all the offsets in the table and decide whether to write a stco or co64 box.
Check all the offsets in the table and decide whether to write a stco or co64 box.
Check all the offsets in the table and decide whether to write a stco or co64 box .
fn check_offsets(&mut self) {
        let offset = self.offset;
        let large = match &self.entries.0 {
            Entries_::Normal(entries) => entries.iter_cloned().any(|e| (e as i64 + offset) > u32::MAX as i64),
            Entries_::Large(entries) => entries.iter_cloned().any(|e| (e as i64 + offset) > u32::MAX as i64),
        };
        if large {
            self.fourcc = FourCC::new("co64");
            self.large = true;
        }
    }
fn check_offsets ( & mut self ) { let offset = self . offset ; let large = match & self . entries . 0 { Entries_ :: Normal ( entries ) => entries . iter_cloned ( ) . any ( | e | ( e as i64 + offset ) > u32 :: MAX as i64 ) , Entries_ :: Large ( entries ) => entries . iter_cloned ( ) . any ( | e | ( e as i64 + offset ) > u32 :: MAX as i64 ) , } ; if large { self . fourcc = FourCC :: new ( " " ) ; self . large = true ; } }
Check all the offsets in the table and decide whether to write a stco or co64 box.
Check all the offsets in the table and decide whether to write a stco or co64 box .
&mut self
&mut self