Class Serializers
Serializers for use with Confluent.Kafka.Producer`2.
Inheritance
System.Object
Serializers
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Confluent.Kafka
Assembly: cs.temp.dll.dll
Syntax
public static class Serializers
Fields
ByteArray
Declaration
public static ISerializer<byte[]> ByteArray
Field Value
Type | Description |
---|---|
ISerializer<System.Byte[]> |
Remarks
Byte order is original order.
Double
System.Double (big endian, network byte order) serializer
Declaration
public static ISerializer<double> Double
Field Value
Type | Description |
---|---|
ISerializer<System.Double> |
Int32
System.Int32 (big endian, network byte order) serializer.
Declaration
public static ISerializer<int> Int32
Field Value
Type | Description |
---|---|
ISerializer<System.Int32> |
Int64
System.Int64 (big endian, network byte order) serializer.
Declaration
public static ISerializer<long> Int64
Field Value
Type | Description |
---|---|
ISerializer<System.Int64> |
Null
Null serializer.
Declaration
public static ISerializer<Null> Null
Field Value
Type | Description |
---|---|
ISerializer<Null> |
Single
System.Single (big endian, network byte order) serializer
Declaration
public static ISerializer<float> Single
Field Value
Type | Description |
---|---|
ISerializer<System.Single> |
Utf8
String (UTF8) serializer.
Declaration
public static ISerializer<string> Utf8
Field Value
Type | Description |
---|---|
ISerializer<System.String> |