public class BytesPushThroughSerializer extends Object implements ZkSerializer
ZkSerializer
which simply passes byte arrays to zk and back.Constructor and Description |
---|
BytesPushThroughSerializer() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(byte[] bytes) |
byte[] |
serialize(Object bytes) |
public Object deserialize(byte[] bytes) throws ZkMarshallingError
deserialize
in interface ZkSerializer
ZkMarshallingError
public byte[] serialize(Object bytes) throws ZkMarshallingError
serialize
in interface ZkSerializer
ZkMarshallingError
Copyright © 2019. All rights reserved.