com.hazelcast.nio.serialization
Class ConstantSerializers.TheByteArraySerializer

java.lang.Object
  extended by com.hazelcast.nio.serialization.ConstantSerializers.TheByteArraySerializer
All Implemented Interfaces:
ByteArraySerializer<byte[]>, Serializer
Enclosing class:
ConstantSerializers

public static final class ConstantSerializers.TheByteArraySerializer
extends Object
implements ByteArraySerializer<byte[]>


Constructor Summary
ConstantSerializers.TheByteArraySerializer()
           
 
Method Summary
 void destroy()
           
 int getTypeId()
           
 byte[] read(byte[] buffer)
           
 byte[] write(byte[] object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantSerializers.TheByteArraySerializer

public ConstantSerializers.TheByteArraySerializer()
Method Detail

getTypeId

public int getTypeId()
Specified by:
getTypeId in interface Serializer

write

public byte[] write(byte[] object)
             throws IOException
Specified by:
write in interface ByteArraySerializer<byte[]>
Throws:
IOException

read

public byte[] read(byte[] buffer)
            throws IOException
Specified by:
read in interface ByteArraySerializer<byte[]>
Throws:
IOException

destroy

public void destroy()
Specified by:
destroy in interface Serializer


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.