Table of Contents

Class ContentDecoder

Namespace
Fluxzy
Assembly
Fluxzy.Core.dll

Factory methods for creating IContentDecoder instances.

public static class ContentDecoder
Inheritance
ContentDecoder
Inherited Members

Methods

Create(string, Func<Stream, Stream>)

Creates an IContentDecoder from a delegate.

public static IContentDecoder Create(string encodingToken, Func<Stream, Stream> decode)

Parameters

encodingToken string

The content-encoding token handled (e.g. "zstd").

decode Func<Stream, Stream>

A function wrapping a compressed stream into a decoding stream.

Returns

IContentDecoder