public class NBTTagByteArray extends NBTBase
NBTBase.NBTPrimitive
Modifier and Type | Field and Description |
---|---|
private byte[] |
data
The byte array stored in the tag.
|
Constructor and Description |
---|
NBTTagByteArray() |
NBTTagByteArray(byte[] data) |
Modifier and Type | Method and Description |
---|---|
NBTBase |
copy()
Creates a clone of the tag.
|
boolean |
equals(java.lang.Object p_equals_1_) |
byte[] |
getByteArray() |
byte |
getId()
Gets the type byte for the tag.
|
int |
hashCode() |
(package private) void |
read(java.io.DataInput input,
int depth,
NBTSizeTracker sizeTracker) |
java.lang.String |
toString() |
(package private) void |
write(java.io.DataOutput output)
Write the actual data contents of the tag, implemented in NBT extension classes
|
createNewByType, getString, hasNoTags
NBTTagByteArray()
public NBTTagByteArray(byte[] data)
void write(java.io.DataOutput output) throws java.io.IOException
void read(java.io.DataInput input, int depth, NBTSizeTracker sizeTracker) throws java.io.IOException
public byte[] getByteArray()