Class AsyncDeserializer<T, TParsedSchema>
Implements
Inherited Members
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public abstract class AsyncDeserializer<T, TParsedSchema> : AsyncSerde<TParsedSchema>, IAsyncDeserializer<T>
Type Parameters
Name | Description |
---|---|
T | |
TParsedSchema |
Constructors
AsyncDeserializer(ISchemaRegistryClient, SerdeConfig, RuleRegistry)
Declaration
protected AsyncDeserializer(ISchemaRegistryClient schemaRegistryClient, SerdeConfig config, RuleRegistry ruleRegistry = null)
Parameters
Type | Name | Description |
---|---|---|
ISchema |
schemaRegistryClient | |
Serde |
config | |
Rule |
ruleRegistry |
Fields
headerSize
Declaration
protected readonly int headerSize
Field Value
Type | Description |
---|---|
int |
Methods
DeserializeAsync(ReadOnlyMemory<byte>, bool, SerializationContext)
Deserialize a message key or value.
Declaration
public abstract Task<T> DeserializeAsync(ReadOnlyMemory<byte> data, bool isNull, SerializationContext context)
Parameters
Type | Name | Description |
---|---|---|
Read |
data | The raw byte data to deserialize. |
bool | isNull | True if this is a null value. |
Serialization |
context | Context relevant to the deserialize operation. |