[ALL] TorrentZip stuff

Taking a cue from RomVault and GordonJ, I'm including the Zlib code as converted by DotNetZip as well as creating a couple slightly more maleable structures for writing archives.
This commit is contained in:
Matt Nadareski
2016-09-15 12:16:33 -07:00
parent 5f79f4205c
commit 29b1330d97
26 changed files with 12095 additions and 104 deletions

View File

@@ -170,7 +170,7 @@
/// <summary>
/// Version of tool archive made by
/// </summary>
public enum ArchiveVersion
public enum ArchiveVersion : ushort
{
MSDOSandOS2 = 0,
Amiga = 1,
@@ -192,12 +192,14 @@
Tandem = 17,
OS400 = 18,
OSXDarwin = 19,
TorrentZip = 20,
TorrentZip64 = 45,
}
/// <summary>
/// Compression method based on flag
/// </summary>
public enum CompressionMethod
public enum CompressionMethod : ushort
{
Stored = 0,
Shrunk = 1,