mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-19 04:33:17 +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.
15 lines
425 B
C#
15 lines
425 B
C#
namespace SabreTools.Data.Models.GZIP
|
|
{
|
|
/// <see href="https://www.ietf.org/rfc/rfc1952.txt"/>
|
|
public static class Constants
|
|
{
|
|
public const byte ID1 = 0x1F;
|
|
|
|
public const byte ID2 = 0x8B;
|
|
|
|
public static readonly byte[] SignatureBytes = [0x1F, 0x8B];
|
|
|
|
public static readonly byte[] TorrentGZHeader = [0x1F, 0x8B, 0x08, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1C, 0x00];
|
|
}
|
|
}
|