Прочетете на английски Редактиране

Споделяне чрез


BrotliDecoder Struct

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.

Provides non-allocating, performant Brotli decompression methods. The methods decompress in a single pass without using a BrotliStream instance.

C#
public struct BrotliDecoder : IDisposable
Inheritance
BrotliDecoder
Implements

Methods

Decompress(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32)

Decompresses data that was compressed using the Brotli algorithm.

Dispose()

Releases all resources used by the current Brotli decoder instance.

TryDecompress(ReadOnlySpan<Byte>, Span<Byte>, Int32)

Attempts to decompress data that was compressed with the Brotli algorithm.

Applies to

Продукт Версии
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.1