Class NibbleArray

java.lang.Object
cn.nukkit.level.format.anvil.util.NibbleArray
All Implemented Interfaces:
Cloneable

public class NibbleArray extends Object implements Cloneable
  • Field Details

  • 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

      public void copyFrom(NibbleArray array)
    • getData

      public byte[] getData()
    • copy

      public NibbleArray copy()