T - public interface ByteSerializer<T>
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getType()
Obtains the type of the source to be serialized.
|
byte[] |
toBytes(T source)
Converts an object to a byte array.
|
byte[] toBytes(T source)
source - the source object to convert to bytesCopyright © 2021. All rights reserved.