Table of Contents

Class ProtobufDecoder

Namespace
Fluxzy.Formatters
Assembly
Fluxzy.Core.dll

Factory methods for creating IProtobufDecoder instances.

public static class ProtobufDecoder
Inheritance
ProtobufDecoder
Inherited Members

Methods

Create(Func<ProtobufDecodeContext, string?>)

Creates an IProtobufDecoder from a delegate.

public static IProtobufDecoder Create(Func<ProtobufDecodeContext, string?> decode)

Parameters

decode Func<ProtobufDecodeContext, string>

A function that takes a ProtobufDecodeContext and returns a decoded text representation, or null if decoding is not possible.

Returns

IProtobufDecoder