def _read32(bytestream):
    dt = numpy.dtype(numpy.uint32).newbyteorder('>')
return numpy.frombuffer(bytestream.read(4), dtype=dt)
TypeError: only integer scalar arrays can be converted to a scalar index