Struct fldtools::Chunk [] [src]

pub struct Chunk {
    pub start: u32,
    pub length: u32,
}

Represents a single data chunk within an FLD file.

Fields

The offset of this chunk from the beginning of the file.

The length of this chunk; this is the original, unpadded size.

Methods

impl Chunk
[src]

Parses a chunk from raw data. data should be an 8-byte slice containing two 32-bit big endian integers, as read directly out of an FLD header.

Serializes this Chunk into its binary representation.