mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
23 lines
981 B
C#
23 lines
981 B
C#
|
|
namespace SabreTools.FileTypes
|
||
|
|
{
|
||
|
|
internal static class Constants
|
||
|
|
{
|
||
|
|
public static readonly byte[] SevenZipSignature = [0x37, 0x7a, 0xbc, 0xaf, 0x27, 0x1c];
|
||
|
|
|
||
|
|
public static readonly byte[] AaruFormatSignature = [0x41, 0x41, 0x52, 0x55, 0x46, 0x52, 0x4d, 0x54];
|
||
|
|
|
||
|
|
public static readonly byte[] CHDSignature = [0x4d, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x48, 0x44];
|
||
|
|
|
||
|
|
public static readonly byte[] GzSignature = [0x1f, 0x8b, 0x08];
|
||
|
|
|
||
|
|
public static readonly byte[] RarSignature = [0x52, 0x61, 0x72, 0x21, 0x1a, 0x07, 0x00];
|
||
|
|
|
||
|
|
public static readonly byte[] RarFiveSignature = [0x52, 0x61, 0x72, 0x21, 0x1a, 0x07, 0x01, 0x00];
|
||
|
|
|
||
|
|
public static readonly byte[] TarSignature = [0x75, 0x73, 0x74, 0x61, 0x72, 0x20, 0x20, 0x00];
|
||
|
|
|
||
|
|
public static readonly byte[] TarZeroSignature = [0x75, 0x73, 0x74, 0x61, 0x72, 0x00, 0x30, 0x30];
|
||
|
|
|
||
|
|
public static readonly byte[] XZSignature = [0xfd, 0x37, 0x7a, 0x58, 0x5a, 0x00, 0x00];
|
||
|
|
}
|
||
|
|
}
|