public interface ObjectRw<T>
Modifier and Type | Method and Description |
---|---|
int |
getSize(T t) |
T |
readFromBuffer(java.nio.ByteBuffer buffer) |
boolean |
validate(T t) |
void |
writeToBuffer(T t,
java.nio.ByteBuffer buffer) |
int getSize(T t)
T readFromBuffer(java.nio.ByteBuffer buffer) throws NxtException.NotValidException
NxtException.NotValidException
void writeToBuffer(T t, java.nio.ByteBuffer buffer)
boolean validate(T t)