Numpy Tobytes, tobytes() method docs: numpy.