BrotliDecoder 結構

定義

提供非配置且具效能的 Brotli 解壓縮方法。Provides non-allocating, performant Brotli decompression methods. 這些方法會在不使用 BrotliStream 執行個體的情況下,於單一行程中解壓縮。The methods decompress in a single pass without using a BrotliStream instance.

public value class BrotliDecoder : IDisposable
public struct BrotliDecoder : IDisposable
type BrotliDecoder = struct
    interface IDisposable
Public Structure BrotliDecoder
Implements IDisposable
繼承
BrotliDecoder
實作

方法

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

將使用 Brotli 演算法壓縮的資料解壓縮。Decompresses data that was compressed using the Brotli algorithm.

Dispose()

釋出目前 Brotli 解碼器執行個體所使用的所有資源。Releases all resources used by the current Brotli decoder instance.

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

嘗試將使用 Brotli 演算法壓縮的資料解壓縮。Attempts to decompress data that was compressed with the Brotli algorithm.

適用於