|
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.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
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