다음을 통해 공유


DeflateCompressionProvider Class

Definition

A compression provider that supports compression and decompression using the Deflate algorithm.

public class DeflateCompressionProvider : Microsoft.IdentityModel.Tokens.ICompressionProvider
type DeflateCompressionProvider = class
    interface ICompressionProvider
Public Class DeflateCompressionProvider
Implements ICompressionProvider
Inheritance
DeflateCompressionProvider
Implements

Constructors

DeflateCompressionProvider()

Initializes a new instance of the DeflateCompressionProvider class used to compress and decompress used the Deflate algorithm.

DeflateCompressionProvider(CompressionLevel)

Initializes a new instance of the DeflateCompressionProvider class used to compress and decompress used the Deflate algorithm.

Properties

Algorithm

Gets the compression algorithm.

CompressionLevel

Specifies whether compression should emphasize speed or compression size. Set to Optimal by default.

MaximumDeflateSize

Gets and sets the maximum deflate size in chars that will be processed.

Methods

Compress(Byte[])

Compresses the value using the Deflate algorithm.

Decompress(Byte[])

Decompresses the value using Deflate algorithm.

IsSupportedAlgorithm(String)

Determines whether the specified compression algorithm is supported.

Applies to