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.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
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