Struct mp4parse::BoxHeader [] [src]

pub struct BoxHeader {
    pub name: FourCC,
    pub size: u64,
    pub offset: u64,
}

Basic ISO box structure.

mp4 files are a sequence of possibly-nested 'box' structures. Each box begins with a header describing the length of the box's data and a four-byte 'character code' or FourCC which identifies the type of the box. Together these are enough to interpret the contents of that section of the file.

Fields

name: FourCC

Four character box type.

size: u64

Size of the box in bytes.

offset: u64

Offset to the start of the contained data (or header size).

Trait Implementations

impl Copy for BoxHeader
[src]

impl Clone for BoxHeader
[src]

fn clone(&self) -> BoxHeader

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for BoxHeader
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.