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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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