namespace SabreTools.Data.Models.BZip2 { public class BlockHeader { /// /// A 48-bit integer value 31 41 59 26 53 59, which /// is the binary-coded decimal representation of /// pi. It is used to differentiate the block /// from the footer. /// /// This may not be byte-aligned public byte[] Magic { get; set; } = new byte[6]; /// /// The CRC-32 checksum of the uncompressed data contained /// in . It is the same checksum /// used in GZip, but is slightly different due to the /// bit-packing differences. /// public uint Crc32 { get; set; } /// /// Should be 0. Previous versions of BZip2 allowed /// the input data to be randomized to avoid /// pathological strings from causing the runtime /// to be exponential. /// /// Actually a 1-bit value public byte Randomized { get; set; } /// /// Contains the origin pointer used in the BWT stage /// /// Actually a 24-bit value public uint OrigPtr { get; set; } } }