wombat 1.1.3

Hex file viewer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! mdat atom

/// mdat atom
#[derive(Debug)]
pub(crate) struct MDat {
    /// Size
    pub(crate) size: usize,
}

impl MDat {
    /// Parse mdat atom
    pub(crate) fn parse(data: &[u8]) -> Self {
        Self { size: data.len() }
    }
}