T - the type parameterpublic interface SerialType<T>
| Modifier and Type | Method and Description |
|---|---|
int |
getSize()
Gets size.
|
default SerialArrayList<T> |
newList()
New list serial array list.
|
default SerialArrayList<T> |
newList(int size)
New list serial array list.
|
default SerialArrayList<T> |
newList(T... items)
New list serial array list.
|
default T |
read(byte[] input)
Read t.
|
T |
read(ByteBuffer input)
Read t.
|
void |
write(ByteBuffer output,
T value)
Write.
|
default byte[] |
write(T value)
Write byte [ ].
|
default SerialArrayList<T> newList()
default SerialArrayList<T> newList(int size)
size - the sizedefault SerialArrayList<T> newList(T... items)
items - the itemsint getSize()
T read(ByteBuffer input) throws IOException
input - the inputIOException - the io exceptiondefault T read(byte[] input) throws IOException
input - the inputIOException - the io exceptionvoid write(ByteBuffer output, T value) throws IOException
output - the outputvalue - the valueIOException - the io exceptiondefault byte[] write(T value) throws IOException
value - the valueIOException - the io exceptionCopyright © 2019 SimiaCryptus Software. All rights reserved.