Compression.CompressData Method (Byte[], CompressionLevel)
Compresses data.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public abstract CompressedData CompressData(
byte[] data,
CompressionLevel compressionLevel
)
public:
virtual CompressedData^ CompressData(
array<unsigned char>^ data,
CompressionLevel compressionLevel
) abstract
Public MustOverride Function CompressData (
data As Byte(),
compressionLevel As CompressionLevel
) As CompressedData
Parameters
data
Type: System.Byte[]Data byte array.
compressionLevel
Type: Microsoft.ConfigurationManagement.Messaging.Framework.CompressionLevelCompression level.
Return Value
Type: Microsoft.ConfigurationManagement.Messaging.Framework.CompressedData
See Also
Compression Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top