Click or drag to resize

PatternDecompressorDecompress(Byte, Int32, Int32) Method

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

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

Parameters

buffer  Byte
The buffer that holds the data.
offset  Int32
The amount of data at the beginning of the buffer that will not be overwritten.
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.
ArgumentOutOfRangeExceptionoffset must be greater than or equal to zero.
ArgumentOutOfRangeExceptionlength must be greater than or equal to zero.
ArgumentOutOfRangeExceptionlength exceeds buffer array boundaries.
See Also