docs: def newarray(self, length, value=0):
          """Initialise empty row"""
          if self.bitdepth > 8:
              return array('H', [value] * length)
          else:
              return bytearray([value] * length)