Function dword_size

Source
pub fn dword_size<'a>(
    input: &'a [u8],
    f: fn(Dword) -> ParseError<'a>,
) -> ParseResult<'a, Dword>
Expand description

Parse a DWORD as size information and make sure the parsed size no less than 4. The latter is important as this function is used when parsing frames and chunks where the size includes itself.