namespace SabreTools.Models.Compression.LZX
{
///
/// The Block Type field, as specified in section 2.3.1.1, indicates which type of block follows,
/// and the Block Size field, as specified in section 2.3.1.2, indicates the number of
/// uncompressed bytes represented by the block. Following the generic block
/// header is a type-specific header that describes the remainder of the block.
///
///
public class BlockHeader
{
/// 3 bits
public BlockType BlockType { get; set; }
///
/// Block size is the high 8 bits of 24
///
/// 8 bits
public byte BlockSizeMSB { get; set; }
///
/// Block size is the middle 8 bits of 24
///
/// 8 bits
public byte BlockSizeByte2 { get; set; }
///
/// Block size is the low 8 bits of 24
///
/// 8 bits
public byte BlocksizeLSB { get; set; }
}
}