Expand description
Serialization interfaces and implementations (org.apache.kafka.common.serialization).
Provides the Serializer and Deserializer traits and common
implementations for strings and byte arrays.
Structs§
- Byte
Array Deserializer - Deserializes byte arrays by returning the bytes unchanged.
- Byte
Array Serializer - Serializes byte arrays by passing them through unchanged.
- Bytes
Deserializer - Deserializes byte arrays into refcounted [
bytes::Bytes]. - String
Deserializer - Deserializes UTF-8 encoded bytes to strings.
- String
Serializer - Serializes strings to UTF-8 encoded bytes.
Traits§
- Deserializer
- An interface for converting bytes to objects.
- Serializer
- An interface for converting objects to bytes.