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.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
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