BrotliDecoder Struct

Definition

Provides non-allocating, performant Brotli decompression methods. 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
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