Compression<TCompressor>.Compress Method (Byte[], CompressionLevel)
Compresses data by using TCompressor.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public static CompressedData Compress(
byte[] data,
CompressionLevel compressionLevel
)
public:
static CompressedData^ Compress(
array<unsigned char>^ data,
CompressionLevel compressionLevel
)
Public Shared Function Compress (
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<TCompressor> Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top