Package convex.core.data
Class Strings
java.lang.Object
convex.core.data.Strings
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringShort
static StringShort
static StringShort
static int
static StringShort
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAX_ENCODING_LENGTH
public static final int MAX_ENCODING_LENGTH -
EMPTY
-
NIL
-
BAD_SIGNATURE
-
BAD_FORMAT
-
-
Constructor Details
-
Strings
public Strings()
-
-
Method Details
-
read
Reads a CVM String value from a bytebuffer. Assumes tag already read.- Parameters:
bb
- ByteBuffer to read from- Returns:
- String instance
- Throws:
BadFormatException
- If format has problems
-
create
-
empty
-