(PngFormat): added HeaderBytes static field.

This commit is contained in:
morkt
2018-01-17 02:11:30 +04:00
parent 02853c4438
commit 880f2189f5
5 changed files with 8 additions and 11 deletions

View File

@@ -63,7 +63,7 @@ namespace GameRes.Formats.Palette
}
}
public static readonly byte[] PngHeader = { 0x89, 0x50, 0x4E, 0x47, 0xD, 0xA, 0x1A, 0xA };
public static byte[] PngHeader { get { return HeaderBytes; } }
public static readonly byte[] PngFooter = { 0, 0, 0, 0, 0x49, 0x45, 0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82 };
IBinaryStream DeobfuscateStream (IBinaryStream stream)