public static final class ConstantSerializers.TheByteArraySerializer extends Object implements ByteArraySerializer<byte[]>
| Constructor and Description |
|---|
ConstantSerializers.TheByteArraySerializer() |
public ConstantSerializers.TheByteArraySerializer()
public int getTypeId()
getTypeId in interface Serializerpublic byte[] write(byte[] object)
throws IOException
ByteArraySerializerwrite in interface ByteArraySerializer<byte[]>object - that will be serializedIOExceptionpublic byte[] read(byte[] buffer)
throws IOException
ByteArraySerializerread in interface ByteArraySerializer<byte[]>buffer - that object will be read fromIOExceptionpublic void destroy()
Serializerdestroy in interface SerializerCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.