com.hazelcast.nio.serialization
Interface ByteArraySerializer<T>

All Superinterfaces:
Serializer
All Known Implementing Classes:
ConstantSerializers.TheByteArraySerializer

public interface ByteArraySerializer<T>
extends Serializer


Method Summary
 T read(byte[] buffer)
           
 byte[] write(T object)
           
 
Methods inherited from interface com.hazelcast.nio.serialization.Serializer
destroy, getTypeId
 

Method Detail

write

byte[] write(T object)
             throws IOException
Throws:
IOException

read

T read(byte[] buffer)
       throws IOException
Throws:
IOException


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