public class BytesPushThroughSerializer extends java.lang.Object implements ZkSerializer
ZkSerializer which simply passes byte arrays to zk and back.| Constructor and Description |
|---|
BytesPushThroughSerializer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
deserialize(byte[] bytes) |
byte[] |
serialize(java.lang.Object bytes) |
public java.lang.Object deserialize(byte[] bytes)
throws ZkMarshallingError
deserialize in interface ZkSerializerZkMarshallingErrorpublic byte[] serialize(java.lang.Object bytes)
throws ZkMarshallingError
serialize in interface ZkSerializerZkMarshallingError