C# Class Kafka.Client.ZooKeeperIntegration.ZooKeeperStringSerializer

Zookeeper is able to store data in form of byte arrays. This interfacte is a bridge between those byte-array format and higher level objects.
Inheritance: IZooKeeperSerializer
Afficher le fichier Open project: precog/kafka

Méthodes publiques

Свойство Type Description
Serializer ZooKeeperStringSerializer

Méthodes publiques

Méthode Description
Deserialize ( byte bytes ) : object

Deserializes data using UTF-8 encoding

Serialize ( object obj ) : byte[]

Serializes data using UTF-8 encoding

Private Methods

Méthode Description
ZooKeeperStringSerializer ( ) : System

Prevents a default instance of the ZooKeeperStringSerializer class from being created.

Method Details

Deserialize() public méthode

Deserializes data using UTF-8 encoding
public Deserialize ( byte bytes ) : object
bytes byte /// The serialized data ///
Résultat object

Serialize() public méthode

Serializes data using UTF-8 encoding
public Serialize ( object obj ) : byte[]
obj object /// The data to serialize ///
Résultat byte[]

Property Details

Serializer public_oe static_oe property

public static ZooKeeperStringSerializer,Kafka.Client.ZooKeeperIntegration Serializer
Résultat ZooKeeperStringSerializer