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