ZlibCompression.CompressData Method (Byte[], CompressionLevel)
Compresses data by using zlib.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public override CompressedData CompressData(
byte[] data,
CompressionLevel compressionLevel
)
public:
virtual CompressedData^ CompressData(
array<unsigned char>^ data,
CompressionLevel compressionLevel
) override
Public Overrides Function CompressData (
data As Byte(),
compressionLevel As CompressionLevel
) As CompressedData
Parameters
data
Type: System.Byte[]Data to compress.
compressionLevel
Type: Microsoft.ConfigurationManagement.Messaging.Framework.CompressionLevelCompression level. This parameter is not currently used.
Return Value
Type: Microsoft.ConfigurationManagement.Messaging.Framework.CompressedData
Compressed data.
See Also
ZlibCompression Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top