DeflateCompressionProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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[]) |
Compress the value using the DEFLATE algorithm. |
Decompress(Byte[]) |
Decompress the value using DEFLATE algorithm. |
IsSupportedAlgorithm(String) |
Answers if a compression algorithm is supported. |
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla