def __init__(self, blocksBytes=None, dataBytes=None):
        if isinstance(blocksBytes, (bytearray, array.array)):
            self.blocksList = list(blocksBytes)
        else:
            self.blocksList = [0]*32768 # Create an empty block list (32768 entries of zero (air))

        if isinstance(dataBytes, (bytearray, array.array)):
            self.dataList = list(dataBytes)
        else:
            self.dataList = [0]*16384 # Create an empty data list (32768 4-bit entries of zero make 16384 byte entries)

    # Get all block entries
Create a new BlockArray, defaulting to no block or data bytes.
dataset/ETHPy150Open twoolie/NBT/nbt/chunk.py/BlockArray.__init__