|
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.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
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