public interface Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(BinaryReader reader) |
static <T extends Serializable> |
from(byte[] value,
Class<T> t) |
void |
serialize(BinaryWriter writer) |
default byte[] |
toArray() |
default String |
toHexString() |
static <T extends Serializable> T from(byte[] value, Class<T> t) throws InstantiationException, IllegalAccessException
void deserialize(BinaryReader reader) throws IOException
reader - IOExceptionvoid serialize(BinaryWriter writer) throws IOException
writer - IOExceptiondefault byte[] toArray()
default String toHexString()
Copyright © 2020. All rights reserved.