|
PatternCompressorCompress(Byte) Method
|
Compresses all of the data in the given buffer.
Namespace: GSF.IO.CompressionAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic int Compress(
byte[] buffer
)
Public Function Compress (
buffer As Byte()
) As Integer
public:
int Compress(
array<unsigned char>^ buffer
)
member Compress :
buffer : byte[] -> int
function Compress(buffer);
View SourceParameters
- buffer Byte
- The buffer to be compressed.
Return Value
Int32The size, in bytes, of the compressed value.
ExceptionsException | Condition |
---|
ArgumentNullException | buffer cannot be null. |
ArgumentException | buffer length must be a multiple of four. |
See Also