T - type of serialized objectpublic interface ByteArraySerializer<T> extends Serializer
StreamSerializer.
  Note that read and write methods should be compatible| Modifier and Type | Method and Description | 
|---|---|
| T | read(byte[] buffer)Converts given byte array to object | 
| byte[] | write(T object)Converts given object to byte array | 
destroy, getTypeIdbyte[] write(T object) throws IOException
object - that will be serializedIOException - in case of any exceptional caseT read(byte[] buffer) throws IOException
buffer - that object will be read fromIOException - in case of any exceptional caseCopyright © 2020 Hazelcast, Inc.. All rights reserved.