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.306-beta+82aa204adb806e6cc8bead4a5ccda6bfcec633d7
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