Click or drag to resize

PatternDecompressor Class

Defines functions for decompression of data compressed by the PatternCompressor.
Inheritance Hierarchy
SystemObject
  GSF.IO.CompressionPatternDecompressor

Namespace: GSF.IO.Compression
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public class PatternDecompressor
View Source

The PatternDecompressor type exposes the following members.

Constructors
 NameDescription
Public methodPatternDecompressorInitializes a new instance of the PatternDecompressor class
Top
Properties
 NameDescription
Public propertyCompressionStrength Gets the compression strength defined by the compressed stream.
Public propertyDataBufferLength Gets the length of the data left in the buffer.
Top
Methods
 NameDescription
Public methodAugmentBuffer(Byte) Inserts the given data into the data buffer for decompression.
Public methodAugmentBuffer(Byte, Int32) Inserts the given data into the data buffer for decompression.
Public methodAugmentBuffer(Byte, Int32, Int32) Inserts the given data into the data buffer for decompression.
Public methodDecompress(Byte) Decompresses four bytes of data and writes the data into an 8-bit integer. The high-order bytes are discarded.
Public methodDecompress(Byte) Decompresses enough bytes of data to fill up the buffer.
Public methodDecompress(Double) Decompresses eight bytes of data and writes the data into a 64-bit floating point number.
Public methodDecompress(Int16) Decompresses four bytes of data and writes the data into a 16-bit signed integer. The high-order bytes are discarded.
Public methodDecompress(Int32) Decompresses four bytes of data and writes the data into a 32-bit signed integer.
Public methodDecompress(Int64) Decompresses eight bytes of data and writes the data into a 64-bit signed integer.
Public methodDecompress(Single) Decompresses four bytes of data and writes the data into a 32-bit floating point number.
Public methodDecompress(UInt16) Decompresses four bytes of data and writes the data into a 16-bit unsigned integer. The high-order bytes are discarded.
Public methodDecompress(UInt32) Decompresses four bytes of data and writes the data into a 32-bit unsigned integer.
Public methodDecompress(UInt64) Decompresses eight bytes of data and writes the data into a 64-bit unsigned integer.
Public methodDecompress(Byte, Int32) Decompresses length bytes of data and places it in the buffer.
Public methodDecompress(Byte, Int32, Int32) Decompresses length bytes of data and places it in the buffer starting at offset.
Public methodStatic memberDecompressBuffer Decompress a byte array containing a sequential list of compressed 32-bit structures (e.g., floating point numbers, integers or unsigned integers) using a patterned compression method.
Public methodEmptyBuffer Clears out the data buffer so that subsequent calls to the Decompress methods do not use the data that was previously in the data buffer.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberMaximumSizeDecompressed Given the size of a compressed buffer, provides the maximum possible size of the decompressed data.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReset Resets the decompressor by flushing the back buffer. Subsequent calls to the Decompress methods will not be decompressed using previously decompressed values.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also