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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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