ZstandardArchive
Contents
[
Hide
]ZstandardArchive class
This class represents a Zstandard archive file. Use it to compose Zstandard archives.
The ZstandardArchive type exposes the following members:
Constructors
| Name | Description |
|---|---|
| ZstandardArchive() | Initializes a new instance of the ZstandardArchive class prepared for compressing. |
| ZstandardArchive(source_stream, options) | Initializes a new instance of the ZstandardArchive class prepared for decompressing. |
| ZstandardArchive(path, options) | Initializes a new instance of the ZstandardArchive class. |
Properties
| Name | Description |
|---|---|
| file_entries | Gets entries of IArchiveFileEntry type constituting the archive. |
| format | Gets the archive format. |
| name | Gets name of the entry. |
| length | Gets the length of the entry in bytes. |
Methods
| Name | Description |
|---|---|
| extract(destination) | Extracts the archive to the stream provided. |
| extract(path) | Extracts the archive to the file by path. |
| set_source(source) | Sets the content to be compressed within the archive. |
| set_source(path) | Sets the content to be compressed within the archive. |
| save(output_stream, settings) | Saves archive to the stream provided. |
| save(destination_file_name, settings) | Saves archive to the destination file provided. |
| open() | Opens the archive for extraction and provides a stream with archive content. |
| extract_to_directory(destination_directory) | Extracts content of the archive to the directory provided. |
See Also
- namespace aspose.zip.zstandard
- assembly Aspose.Zip