Table of Contents

Method Deserialize

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

Deserialize(ReadOnlySpan<byte>, bool, SerializationContext)

Reads a value, waiting for Glue when its schema version isn't known yet. A tombstone reads as null; it can't be read as a value type.

public T Deserialize(ReadOnlySpan<byte> data, bool isNull, SerializationContext context)

Parameters

data ReadOnlySpan<byte>

The message body.

isNull bool

Whether the message has no body.

context SerializationContext

The topic.

Returns

T

Exceptions

InvalidOperationException

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