Class BitArray256

java.lang.Object
cn.nukkit.level.format.anvil.palette.BitArray256

public final class BitArray256 extends Object
Author:
https://github.com/boy0001/
  • Constructor Details

    • BitArray256

      public BitArray256(int bitsPerEntry)
    • BitArray256

      public BitArray256(BitArray256 other)
  • Method Details

    • setAt

      public void setAt(int index, int value)
    • getAt

      public int getAt(int index)
    • fromRaw

      public void fromRaw(int[] arr)
    • grow

      public BitArray256 grow(int newBitsPerEntry)
    • growSlow

      public BitArray256 growSlow(int bitsPerEntry)
    • toRaw

      public int[] toRaw(int[] buffer)
    • toRaw

      public int[] toRaw()
    • clone

      public BitArray256 clone()
      Overrides:
      clone in class Object