Class Lz4Archive
Contents
[
Hide
]Lz4Archive class
This class represents LZ4 archive file. Use it to extract or compose LZ4 archives.
public class Lz4Archive : IArchive, IArchiveFileEntry
Constructors
| Name | Description |
|---|---|
| Lz4Archive(Lz4ArchiveSetting) | Initializes a new instance of the Lz4Archive class prepared for compressing. |
| Lz4Archive(Stream, Lz4LoadOptions) | Initializes a new instance of the Lz4Archive class prepared for decompressing. |
| Lz4Archive(string, Lz4LoadOptions) | Initializes a new instance of the Lz4Archive class. |
Methods
| Name | Description |
|---|---|
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| Extract(Stream) | Extracts the archive to the stream provided. |
| Extract(string) | Extracts the archive to the file by path. |
| ExtractToDirectory(string) | Extracts content of the archive to the directory provided. |
| Open() | Opens the archive for extraction and provides a stream with archive content. |
| Save(FileInfo) | Saves lz4 archive to destination file provided. |
| Save(Stream) | Saves lz4 archive to the stream provided. |
| Save(string) | Saves archive to the destination file provided. |
| SetSource(FileInfo) | Sets the content to be compressed within the archive. |
| SetSource(Stream) | Sets the content to be compressed within the archive. |
| SetSource(string) | Sets the content to be compressed within the archive. |
| SetSource(TarArchive, TarFormat) | Sets the content to be compressed within the archive. |
See Also
- interface IArchive
- interface IArchiveFileEntry
- namespace Aspose.Zip.Lz4
- assembly Aspose.Zip