//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtByteArray
NbtByteArray
[jvm]
data class NbtByteArray(value: ByteArray) : NbtTag
A tag which wraps a mutable byte array.
Constructors
NbtByteArray | [jvm] fun NbtByteArray() Creates a new tag with an empty array. |
NbtByteArray | [jvm] fun NbtByteArray(value: String) Parses the string using the same structure which is returned by stringValue. |
NbtByteArray | [jvm] fun NbtByteArray(value: ByteArray) |
Functions
Name | Summary |
---|---|
deepCopy | [jvm] open override fun deepCopy(): NbtByteArray Returns a new wrapper with a copy of the current value. |
equals | [jvm] open operator override fun equals(other: Any?): Boolean Properly checks the equality of the array. |
hashCode | [jvm] open override fun hashCode(): Int Properly calculates the hashcode of the array. |
toString | [jvm] override fun toString(): String A technical string representation of this tag, containing the tag type, and it’s value, appropriated for developer inspections. |
Properties
Name | Summary |
---|---|
stringValue | [jvm] open override val stringValue: String Returns a string representation of the tag’s value with a structure similar to a normal List. |
value | [jvm] var value: ByteArray The wrapped value |