Table of Contents

Method DeserializeAsync

Namespace
AvroSharp.Aws.Glue.Kafka
Assembly
AvroSharp.Aws.Glue.Kafka.dll

DeserializeAsync(ReadOnlyMemory<byte>, bool, SerializationContext)

Reads a value. A tombstone reads as null; it can't be read as a value type.

public 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.

context SerializationContext

The topic.

Returns

Task<T>

Exceptions

InvalidOperationException

The message is a tombstone and T is a value type.