| Modifier and Type | Method and Description |
|---|---|
protected String |
asString(Transformable transformable)
Creates a string representation of the given object by dumping all known fields.
|
void |
fromBytes(Object object,
byte[] data)
Filles the given object from the given byte array.
|
void |
toBytes(Object object,
byte[] destination)
Fills the byte array from the given object.
|
public void fromBytes(@Nonnull Object object, byte[] data)
object - the object to filldata - the received byte arraypublic void toBytes(@Nonnull Object object, byte[] destination)
object - the object to take data fromdestination - the byte array to fill. Note that this has to have the correct length already.protected String asString(@Nonnull Transformable transformable)
transformable - the object to convert to a stringCopyright © 2018. All rights reserved.