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.181-beta
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