Share via


CompressedData<TCompressor> Class

 

Provides a generic representation of compressed data.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Framework.CompressedData
    Microsoft.ConfigurationManagement.Messaging.Framework.CompressedData<TCompressor>

Syntax

[SerializableAttribute]
public sealed class CompressedData<TCompressor> : CompressedData
where TCompressor : Compression
generic<typename TCompressor>
where TCompressor : Compression
[SerializableAttribute]
public ref class CompressedData sealed : CompressedData
<SerializableAttribute>
Public NotInheritable Class CompressedData(Of TCompressor As Compression)
    Inherits CompressedData

Type Parameters

  • TCompressor
    The compressor type.

Constructors

Name Description
System_CAPS_pubmethod CompressedData<TCompressor>(Byte[])

Initializes a new instance of the CompressedData<TCompressor> class.

System_CAPS_pubmethod CompressedData<TCompressor>(Byte[], CompressionLevel)

Initializes a new instance of the CompressedData<TCompressor> class.

Properties

Name Description
System_CAPS_pubproperty CompressionLevel

Gets the compression level of the compressed data. (Inherited from CompressedData.)

System_CAPS_pubproperty Compressor

Gets the compressor type. (Inherited from CompressedData.)

Methods

Name Description
System_CAPS_pubmethod Decompress()

Decompresses the data into a byte array. (Inherited from CompressedData.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetData()

Gets the raw compressed data as a byte array. (Inherited from CompressedData.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top