Class NibbleArray
java.lang.Object
cn.nukkit.level.format.anvil.util.NibbleArray
- All Implemented Interfaces:
Cloneable
-
Field Details
-
EMPTY_DATA_ARRAY
-
-
Constructor Details
-
NibbleArray
public NibbleArray(int length) -
NibbleArray
public NibbleArray(byte[] array)
-
-
Method Details
-
get
public byte get(int index) -
set
public void set(int index, byte value) -
fill
public void fill(byte value) -
copyFrom
public void copyFrom(byte[] bytes) -
copyFrom
-
getData
public byte[] getData() -
copy
-