Click or drag to resize

PatternCompressorCompress(Byte) Method

Compresses all of the data in the given buffer.

Namespace: GSF.IO.Compression
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public int Compress(
	byte[] buffer
)
View Source

Parameters

buffer  Byte
The buffer to be compressed.

Return Value

Int32
The size, in bytes, of the compressed value.
Exceptions
ExceptionCondition
ArgumentNullExceptionbuffer cannot be null.
ArgumentExceptionbuffer length must be a multiple of four.
See Also