Method Deserialize
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
dataReadOnlySpan<byte>The message body.
isNullboolWhether the message has no body.
contextSerializationContextThe topic.
Returns
- T
Exceptions
- InvalidOperationException
The message is a tombstone and
Tis a value type.