Files
SabreTools.Serialization/SabreTools.Data.Models/BZip2/Footer.cs
Matt Nadareski 7689c6dd07 Libraries
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
2026-03-21 16:26:56 -04:00

28 lines
897 B
C#

namespace SabreTools.Data.Models.BZip2
{
public class Footer
{
/// <summary>
/// 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.
/// </summary>
/// <remarks>This may not be byte-aligned</remarks>
public byte[] Magic { get; set; } = new byte[6];
/// <summary>
/// Contains a custom checksum computed using each of
/// the Block CRCs.
/// </summary>
/// <remarks>This may not be byte-aligned</remarks>
public uint Checksum { get; set; }
/// <summary>
/// Used to align the bit-stream to the next byte-aligned
/// edge and will contain between 0 and 7 bits.
/// </summary>
public byte Padding { get; set; }
}
}