org.apache.helix.manager.zk.serializer.PayloadSerializer |
Known Indirect Subclasses |
Interface for converting back and forth between raw bytes and generic objects
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convert raw bytes to a generic object instance
| |||||||||||
Convert a generic object instance to raw bytes
|
Convert raw bytes to a generic object instance
clazz | The class represented by the deserialized bytes |
---|---|
bytes | byte array representing the object |
Convert a generic object instance to raw bytes
data | instance of the generic type |
---|