Class SnappyArchive

SnappyArchive class

This class represents snappy archive file. Use it to compose or extract snappy archives.

public class SnappyArchive : IArchive, IArchiveFileEntry

Constructors

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

Methods

NameDescription
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Extract(FileInfo)Extracts snappy archive to a file.
Extract(Stream)Extracts snappy archive to a stream.
Extract(string)Extracts snappy archive to a file by path.
ExtractToDirectory(string)Extracts content of the archive to the directory provided.
Save(FileInfo)Saves snappy archive to destination file provided.
Save(Stream)Saves snappy archive to the stream provided.
Save(string)Saves snappy archive to 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.

See Also