com.hazelcast.nio.serialization
Class ConstantSerializers.TheByteArraySerializer
java.lang.Object
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[]>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantSerializers.TheByteArraySerializer
public ConstantSerializers.TheByteArraySerializer()
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.