A length-prefixed
modified UTF-8
string. The prefix is an
unsigned short (thus 2 bytes) signifying the length of the string in bytes
- Author:
- SyntaxError404
-
Constructor Summary
Constructors
Constructs a new tag with an initial value of an empty string
Constructs a new tag with an initial value
-
Method Summary
Methods inherited from class at.syntaxerror.syntaxnbt.tag.Tag
cast, compare, equals, getType, getValue, is, isArray, isCompound, isFloat, isInteger, isList, isList, isNumber, isString, setValue, toString
-
Constructor Details
-
TagString
public TagString()
Constructs a new tag with an initial value of an empty string
-
TagString
public TagString(String value)
Constructs a new tag with an initial value
- Parameters:
value - initial value