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.275-beta+5a507085c1b79f1427cd1812b9c3c9c583c21079
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