ZstandardArchive

ZstandardArchive class

This class represents Zstandard archive file. Use it to compose Zstandard archives.

public class ZstandardArchive : IArchive, IArchiveFileEntry

Constructors

NameDescription
ZstandardArchive()Initializes a new instance of the ZstandardArchive class prepared for compressing.
ZstandardArchive(Stream)Initializes a new instance of the ZstandardArchive class prepared for decompressing.
ZstandardArchive(string, bool)Initializes a new instance of the ZstandardArchive class.

Methods

NameDescription
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(Stream)Saves archive to the stream 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.

See Also