T
- type of serialized objectpublic interface ByteArraySerializer<T> extends Serializer
StreamSerializer
.
Note that read and write methods should be compatiblebyte[] write(T object) throws IOException
object
- that will be serializedIOException
T read(byte[] buffer) throws IOException
buffer
- that object will be read fromIOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.