Convert the array to an array of machine values and return the bytes representation.
array/array.tobytes
array.tobytes