This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
RomVault/ROMVault2/SupportedFiles/ICompress.cs
2015-03-18 08:48:48 -05:00

41 lines
1.1 KiB
C#

using System.IO;
namespace ROMVault2.SupportedFiles
{
public interface ICompress
{
int LocalFilesCount();
string Filename(int i);
ulong? LocalHeader(int i);
ulong UncompressedSize(int i);
byte[] CRC32(int i);
ZipReturn FileStatus(int i);
byte[] MD5(int i);
byte[] SHA1(int i);
ZipOpenType ZipOpen { get; }
ZipReturn ZipFileOpen(string newFilename, long timestamp, bool readHeaders);
void ZipFileClose();
ZipReturn ZipFileOpenWriteStream(bool raw, bool trrntzip, string filename, ulong uncompressedSize, ushort compressionMethod, out Stream stream);
ZipReturn ZipFileCloseReadStream();
void DeepScan();
ZipStatus ZipStatus { get; }
string ZipFilename { get; }
long TimeStamp { get; }
void ZipFileAddDirectory();
ZipReturn ZipFileCreate(string newFilename);
ZipReturn ZipFileCloseWriteStream(byte[] crc32);
ZipReturn ZipFileRollBack();
void ZipFileCloseFailed();
}
}