Constructor and Description |
---|
ByteArrayRw(int maxLength) |
Modifier and Type | Method and Description |
---|---|
int |
getSize(byte[] bytes) |
byte[] |
readFromBuffer(java.nio.ByteBuffer buffer) |
boolean |
validate(byte[] bytes) |
void |
writeToBuffer(byte[] bytes,
java.nio.ByteBuffer buffer) |
public byte[] readFromBuffer(java.nio.ByteBuffer buffer) throws NxtException.NotValidException
readFromBuffer
in interface ObjectRw<byte[]>
NxtException.NotValidException
public void writeToBuffer(byte[] bytes, java.nio.ByteBuffer buffer)
writeToBuffer
in interface ObjectRw<byte[]>