public interface Payload
Modifier and Type | Method and Description |
---|---|
Payload |
clean()
Common operation to clean the content.
|
boolean |
deserialize(byte[] data)
Opposite operation, reads the serialized content and restore the Java content.
|
byte[] |
serialize()
Converts to dedicated bytes which presents the content.
|
Payload clean()
byte[] serialize()
Serializable
interface.
This is another approach.boolean deserialize(byte[] data)
data
-