namespace SabreTools.Data.Models.BZip2
{
public class Footer
{
///
/// A 48-bit integer value 17 72 45 38 50 90, which
/// is the binary-coded decimal representation of
/// sqrt(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];
///
/// Contains a custom checksum computed using each of
/// the Block CRCs.
///
/// This may not be byte-aligned
public uint Checksum { get; set; }
///
/// Used to align the bit-stream to the next byte-aligned
/// edge and will contain between 0 and 7 bits.
///
public byte Padding { get; set; }
}
}