mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-22 22:29:42 +00:00
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.
28 lines
897 B
C#
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; }
|
|
}
|
|
}
|