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 Serializer
public byte[] write(byte[] object) throws IOException
ByteArraySerializer
write
in interface ByteArraySerializer<byte[]>
object
- that will be serializedIOException
public byte[] read(byte[] buffer) throws IOException
ByteArraySerializer
read
in interface ByteArraySerializer<byte[]>
buffer
- that object will be read fromIOException
public void destroy()
Serializer
destroy
in interface Serializer
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.