public interface NeoSerializableInterface
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(BinaryReader reader) |
static <T extends NeoSerializable> |
from(byte[] value,
java.lang.Class<T> t) |
static <T extends NeoSerializable> |
fromAsList(byte[] value,
java.lang.Class<T> t) |
int |
getSize()
Gets the byte size of this serializable in serialized form.
|
void |
serialize(BinaryWriter writer) |
default byte[] |
toArray() |
void deserialize(BinaryReader reader) throws DeserializationException
DeserializationExceptionvoid serialize(BinaryWriter writer) throws java.io.IOException
java.io.IOExceptionint getSize()
default byte[] toArray()
static <T extends NeoSerializable> T from(byte[] value, java.lang.Class<T> t) throws DeserializationException
DeserializationExceptionstatic <T extends NeoSerializable> java.util.List<T> fromAsList(byte[] value, java.lang.Class<T> t) throws DeserializationException
DeserializationException