confluent-kafka-dotnet
Show / Hide Table of Contents

Class Deserializers

Deserializers for use with Confluent.Kafka.Consumer<TKey, TValue>.

Inheritance
object
Deserializers
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.dll
Syntax
public static class Deserializers

Fields

ByteArray

System.Byte[] (nullable) deserializer.

Declaration
public static IDeserializer<byte[]> ByteArray
Field Value
Type Description
IDeserializer<byte[]>
Remarks

Byte ordering is original order.

Double

System.Double (big endian encoded, network byte ordered) deserializer.

Declaration
public static IDeserializer<double> Double
Field Value
Type Description
IDeserializer<double>

Ignore

Deserializer that deserializes any value to null.

Declaration
public static IDeserializer<Ignore> Ignore
Field Value
Type Description
IDeserializer<Ignore>

Int32

System.Int32 (big endian encoded, network byte ordered) deserializer.

Declaration
public static IDeserializer<int> Int32
Field Value
Type Description
IDeserializer<int>

Int64

System.Int64 (big endian encoded, network byte ordered) deserializer.

Declaration
public static IDeserializer<long> Int64
Field Value
Type Description
IDeserializer<long>

Null

Null value deserializer.

Declaration
public static IDeserializer<Null> Null
Field Value
Type Description
IDeserializer<Null>

Single

System.Single (big endian encoded, network byte ordered) deserializer.

Declaration
public static IDeserializer<float> Single
Field Value
Type Description
IDeserializer<float>

Utf8

String (UTF8 encoded) deserializer.

Declaration
public static IDeserializer<string> Utf8
Field Value
Type Description
IDeserializer<string>
In this article