Click or drag to resize

CompressionExtensions Class

Defines extension functions related to compression.
Inheritance Hierarchy
SystemObject
  GSF.IO.CompressionCompressionExtensions

Namespace: GSF.IO.Compression
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.260-beta+c4fc92ae367c76cb8a25327905002e8b5f19e084
Syntax
public static class CompressionExtensions
View Source

The CompressionExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodCompress(Byte) Compress a byte array using standard compression method.
Public Extension MethodCompress(Byte, CompressionStrength) Compress a byte array using specified compression method.
Public Extension MethodCompress(Stream, CompressionStrength) Compress a stream using specified compression strength.
Public Extension MethodCompress(Byte, Int32, Int32, CompressionStrength) Compress a byte array using specified compression method.
Public Extension MethodCompress(Stream, Stream, CompressionStrength, ActionProcessProgressInt64) Compress a stream onto given output stream using specified compression strength.
Public Extension MethodDecompress(Byte) Decompress a byte array.
Public Extension MethodDecompress(Stream) Decompress a stream.
Public Extension MethodDecompress(Byte, Int32, Int32) Decompress a byte array.
Public Extension MethodDecompress(Stream, Stream, ActionProcessProgressInt64) Decompress a stream onto given output stream.
Top
Fields
 NameDescription
Public fieldStatic memberBufferSize Default compression buffer size.
Public fieldStatic memberCompressionVersion Needed version of this library to uncompress stream (1.0.0 stored as byte 100).
Top
See Also