Constructor and Description |
---|
StringRw(LengthRwPrimitiveType lengthRw,
int maxCharLength) |
Modifier and Type | Method and Description |
---|---|
int |
getSize(java.lang.String string) |
java.lang.String |
readFromBuffer(java.nio.ByteBuffer buffer) |
boolean |
validate(java.lang.String s) |
void |
writeToBuffer(java.lang.String t,
java.nio.ByteBuffer buffer) |
public StringRw(LengthRwPrimitiveType lengthRw, int maxCharLength)
public int getSize(java.lang.String string)
public java.lang.String readFromBuffer(java.nio.ByteBuffer buffer) throws NxtException.NotValidException
readFromBuffer
in interface ObjectRw<java.lang.String>
NxtException.NotValidException
public void writeToBuffer(java.lang.String t, java.nio.ByteBuffer buffer)
writeToBuffer
in interface ObjectRw<java.lang.String>