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.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
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