Table of Contents

Method DeserializeAsync

Namespace
AvroSharp.KafkaFlow
Assembly
AvroSharp.KafkaFlow.dll

DeserializeAsync(Stream, Type, ISerializerContext)

Reads a message as type.

public Task<object> DeserializeAsync(Stream input, Type type, ISerializerContext context)

Parameters

input Stream

The message body.

type Type

The type to read, which AvroTypes knows.

context ISerializerContext

The topic.

Returns

Task<object>

Exceptions

InvalidOperationException

type is not one AvroTypes knows.