Object
EinhugurZstandard
EinhugurZstandard (console safe) | Default constructor with no parameters. |
EinhugurZstandard (console safe) | Constructor which takes source and destination files as FolderItem. |
EinhugurZstandard (console safe) | Constructor which takes IBinaryStreamReader source and destination file as FolderItem. |
EinhugurZstandard (console safe) | Constructor which takes IBinaryStreamReader source and IBinaryStreamWriter destination. |
EinhugurZstandard (console safe) | Constructor which takes file as FolderItem source and IBinaryStreamWriter for destination. |
Compress (console safe) | Compresses file or steam according to how it has been set up on the class.
This method can raise the following exceptions:
|
CompressTask (console safe) | Sets up a compression task for native Thread execution
This function can raise the following exceptions:
When running the task returned by this function then the following exception can be thrown:
|
Decompress (console safe) | Decompresses file or steam according to how it has been set up on the class.
This method can raise the following exceptions:
|
DecompressTask (console safe) | Sets up a decompression task for native Thread execution
This function can raise the following exceptions:
When running the task returned by this function then the following exception can be thrown:
|
SetDestination (console safe) | Sets file destination for compression or decompression. |
SetDestination (console safe) | Sets IBinaryStreamWriter destination for compression or decompression. |
SetProgressHandler (console safe) | Sets progress handler for the compression or decompression. |
SetSource (console safe) | Sets file source for compression or decompression. |
SetSource (console safe) | Sets IBinaryStreamReader source for compression or decompression. |
ProgressDelegate (console safe) | Delegate for progress handling. |
CompressionLevelDefault = 3 | Default compression level for Zstandard compression. Value of this constant is 3. |
CompressionLevelMaxSafe = 20 | Maximum safe compression level for the Zstandard compression. Value of this constant is 20. |
CompressionLevelMax = 22 | Maximum compression level for the ZStandard compression. Levels above 20 should be used carefully as you can get memory and resource issues. Value of this constant is 22. |
FileExtension = ".zst" | File extension for the ZStandard file format. This constant will return zst |
InternetMediaType = "application/zstd" | Internet media type constant for the file format. This constant will return application/zstd |