Click or drag to resize

PatternDecompressorDecompress(Byte, Int32) Method

Decompresses length bytes of data and places it in the buffer.

Namespace: GSF.IO.Compression
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public void Decompress(
	byte[] buffer,
	int length
)
View Source

Parameters

buffer  Byte
The buffer that holds the data.
length  Int32
The amount of data to be decompressed and written to the buffer. The value of this parameter must be a multiple of four.
Exceptions
ExceptionCondition
ArgumentNullExceptionbuffer cannot be null.
ArgumentExceptionlength must be a multiple of four.
ArgumentOutOfRangeExceptionlength must be greater than or equal to zero.
ArgumentOutOfRangeExceptionlength exceeds buffer array boundaries.
See Also