Method DeserializeAsync
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
dataReadOnlyMemory<byte>The message body.
isNullboolWhether the message has no body; the result is then the default of
T.contextSerializationContextThe topic, the component (key or value) and the headers.
Returns
- Task<T>