public class GenericKryoToBytesSerialiser<T> extends Object implements Serialiser<T,byte[]>
| Constructor and Description |
|---|
GenericKryoToBytesSerialiser(com.esotericsoftware.kryo.pool.KryoPool pool,
Map<Class,Converter> converters)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
T |
deserialise(byte[] source)
Deserialise the byte[] back to its instantiated object.
|
byte[] |
serialise(T source)
Serialise the incoming object to a byte[]
|
public byte[] serialise(T source)
serialise in interface Serialiser<T,byte[]>source - public T deserialise(byte[] source)
deserialise in interface Serialiser<T,byte[]>source - Copyright © 2007-2019 Ikasan. All Rights Reserved.