structstd.compress.zstandard.types.compressed_block.SequencesSection[src]

Fields

header: SequencesSection.Header
literals_length_table: Table
offset_table: Table
match_length_table: Table

Source Code

Source code
pub const SequencesSection = struct {
    header: SequencesSection.Header,
    literals_length_table: Table,
    offset_table: Table,
    match_length_table: Table,

    pub const Header = struct {
        sequence_count: u24,
        match_lengths: Mode,
        offsets: Mode,
        literal_lengths: Mode,

        pub const Mode = enum(u2) {
            predefined,
            rle,
            fse,
            repeat,
        };
    };
}