NumPy

numpy.lib.user_array.container.tobytes

method

container.tobytes(self)[source]