Remove unused constants

This commit is contained in:
Matt Nadareski
2024-07-19 15:47:47 -04:00
parent a0010fe509
commit 4c4ea54ac8
4 changed files with 2 additions and 60 deletions

View File

@@ -18,16 +18,6 @@ namespace SabreTools.FileTypes.Archives
/// </summary>
public class ZipArchive : BaseArchive
{
#region Constants
private const uint LocalFileHeaderSignature = 0x04034b50;
private const uint EndOfLocalFileHeaderSignature = 0x08074b50;
private const uint CentralDirectoryHeaderSignature = 0x02014b50;
private const uint EndOfCentralDirSignature = 0x06054b50;
private const uint Zip64EndOfCentralDirSignature = 0x06064b50;
private const uint Zip64EndOfCentralDirectoryLocator = 0x07064b50;
private const uint TorrentZipFileDateTime = 0x2198BC00;
/* TorrentZip Header Format
https://pkware.cachefly.net/webdocs/APPNOTE/APPNOTE_6.2.0.txt
http://www.romvault.com/trrntzip_explained.doc
@@ -39,9 +29,6 @@ namespace SabreTools.FileTypes.Archives
0A-0B Last mod file time (0x00, 0xBC)
0C-0D Last mod file date (0x98, 0x21)
*/
private readonly static byte[] TorrentZipHeader = new byte[] { 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x02, 0x00, 0x08, 0x00, 0x00, 0xbc, 0x98, 0x21 };
#endregion
#region Constructors