Table of Contents

Method DeserializeAsync

Namespace
AvroSharp.Confluent
Assembly
AvroSharp.Confluent.dll

DeserializeAsync(ReadOnlyMemory<byte>, bool, SerializationContext)

Reads a value: the writer's schema by the message's schema ID, then the data resolved to the type's schema.

public override Task<T> DeserializeAsync(ReadOnlyMemory<byte> data, bool isNull, SerializationContext context)

Parameters

data ReadOnlyMemory<byte>

The message body.

isNull bool

Whether the message has no body; the result is then the default of T.

context SerializationContext

The topic, the component (key or value) and the headers.

Returns

Task<T>