public interface SerialType<T>
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
default SerialArrayList<T> |
newList() |
default SerialArrayList<T> |
newList(int size) |
default SerialArrayList<T> |
newList(T... items) |
default T |
read(byte[] input) |
T |
read(ByteBuffer input) |
void |
write(ByteBuffer output,
T value) |
default byte[] |
write(T value) |
default SerialArrayList<T> newList()
default SerialArrayList<T> newList(int size)
default SerialArrayList<T> newList(T... items)
int getSize()
T read(ByteBuffer input) throws IOException
IOExceptiondefault T read(byte[] input) throws IOException
IOExceptionvoid write(ByteBuffer output, T value) throws IOException
IOExceptiondefault byte[] write(T value) throws IOException
IOExceptionCopyright © 2019 SimiaCryptus Software. All rights reserved.