[This is preliminary documentation and is subject to change.]
Unique class for compression/decompression file. Represents a Zip file.
Namespace: System.IO.CompressionAssembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)
Syntax
| C# |
public sealed class ZipStorer : IDisposable
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| ZipStorer()()()() | Initializes a new instance of the ZipStorer class | |
| AddFile(ZipStorer..::..Compression, String, String, String) |
Add full contents of a file into the Zip storage
| |
| AddStream(ZipStorer..::..Compression, String, Stream, DateTime, String) |
Add full contents of a stream into the Zip storage
| |
| Close()()()() |
Updates central directory (if pertinent) and close the Zip storage
| |
| Create(Stream, String) |
Method to create a new zip storage in a stream
| |
| Create(String, String) | Method to create a new storage file. | |
| Dispose()()()() |
Closes the Zip file stream
| |
| EncodeUTF8 | True if UTF8 encoding for file name and comments, false if default (CP 437) | |
| Equals(Object) | (Inherited from Object.) | |
| ExtractFile(ZipStorer..::..ZipFileEntry, Stream) | Copy the contents of a stored file into an opened stream | |
| ExtractFile(ZipStorer..::..ZipFileEntry, String) |
Copy the contents of a stored file into a physical file
| |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| ForceDeflating | Force deflate algotithm even if it inflates the stored file. Off by default. | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Open(Stream, FileAccess) |
Method to open an existing storage from stream
| |
| Open(String, FileAccess) |
Method to open an existing storage file
| |
| ReadCentralDir()()()() |
Read all the file records in the central directory
| |
| RemoveEntries(ZipStorer%, List<(Of <<'(ZipStorer..::..ZipFileEntry>)>>)) |
Removes one of many files in storage. It creates a new Zip file.
| |
| ToString()()()() | (Inherited from Object.) |