Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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