Package nxt.util.bbh
Interface LengthRw
- All Known Implementing Classes:
LengthRwPrimitiveType
public interface LengthRw
-
Method Summary
Modifier and TypeMethodDescriptionintgetSize()static nxt.util.bbh.StringLengthRwmaxStringLen(int maxCharLength) intreadFromBuffer(ByteBuffer buffer) booleanvalidate(int length) voidwriteToBuffer(ByteBuffer buffer, int length)
-
Method Details
-
getSize
int getSize() -
readFromBuffer
- Throws:
NxtException.NotValidException
-
writeToBuffer
-
validate
boolean validate(int length) -
maxStringLen
static nxt.util.bbh.StringLengthRw maxStringLen(int maxCharLength)
-