BinaryDeserializerBuilder class

A deserializer builder configured with a reasonable set of default cases.
AssemblyChr.Avro.Binary
NamespaceChr.Avro.Serialization
Signature
public class BinaryDeserializerBuilder : Chr.Avro.Serialization.IBinaryDeserializerBuilder
Baseobject
InterfacesIBinaryDeserializerBuilder

Constructors

BinaryDeserializerBuilder(IBinaryCodec, ITypeResolver)
Creates a new deserializer builder.
BinaryDeserializerBuilder(IEnumerable<Func<IBinaryDeserializerBuilder, IBinaryDeserializerBuilderCase>>, ITypeResolver)
Creates a new deserializer builder.

Properties

IEnumerable<IBinaryDeserializerBuilderCase> Cases
A list of cases that the build methods will attempt to apply. If the first case does not match, the next case will be tested, and so on.
ITypeResolver Resolver
A resolver to retrieve type information from.

Methods

Func<Stream, T> BuildDelegate<T>(Schema)
Builds a delegate that reads a serialized object from a stream.
IBinaryDeserializer<T> BuildDeserializer<T>(Schema)
Builds a binary deserializer.
Expression BuildExpression(Type, Schema, IBinaryDeserializerBuilderContext)
Builds an expression that represents reading an object of from a stream (provided by ).
IEnumerable<Func<IBinaryDeserializerBuilder, IBinaryDeserializerBuilderCase>> CreateBinaryDeserializerCaseBuilders(IBinaryCodec)
Creates a default list of case builders.
Chr.Avro