public interface LengthRw
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
static nxt.util.bbh.StringLengthRw |
maxStringLen(int maxCharLength) |
int |
readFromBuffer(java.nio.ByteBuffer buffer) |
boolean |
validate(int length) |
void |
writeToBuffer(java.nio.ByteBuffer buffer,
int length) |
int getSize()
int readFromBuffer(java.nio.ByteBuffer buffer)
throws NxtException.NotValidException
NxtException.NotValidExceptionvoid writeToBuffer(java.nio.ByteBuffer buffer,
int length)
boolean validate(int length)
static nxt.util.bbh.StringLengthRw maxStringLen(int maxCharLength)