|   | PatternDecompressorDecompress(Byte, Int32, Int32) Method | 
        
        
            Decompresses length bytes of data and places it in the buffer starting at offset.
            
        
        Namespace: GSF.IO.CompressionAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntaxpublic void Decompress(
	byte[] buffer,
	int offset,
	int length
)
Public Sub Decompress ( 
	buffer As Byte(),
	offset As Integer,
	length As Integer
)
public:
void Decompress(
	array<unsigned char>^ buffer, 
	int offset, 
	int length
)
member Decompress : 
        buffer : byte[] * 
        offset : int * 
        length : int -> unit function Decompress(buffer, offset, length);
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
Exceptions| Exception | Condition | 
|---|
| ArgumentNullException | buffer cannot be null. | 
| ArgumentException | length must be a multiple of four. | 
| ArgumentOutOfRangeException | offset must be greater than or equal to zero. | 
| ArgumentOutOfRangeException | length must be greater than or equal to zero. | 
| ArgumentOutOfRangeException | length exceeds buffer array boundaries. | 
 See Also
See Also