public interface ForkliftSerializer
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserializeForSource(SourceI source,
byte[] bytes)
Deserialize the given object from bytes.
|
byte[] |
serializeForSource(SourceI source,
java.lang.Object object)
Serialize the given object to bytes.
|
byte[] serializeForSource(SourceI source, java.lang.Object object)
source - the source for which the serialized bytes are destinedobject - the object to serialize<T> T deserializeForSource(SourceI source, byte[] bytes)
T - the type expected from the deserialized objectsource - the source for which the bytes were destinedbytes - the bytes to deserialize