Byteswap all items of the array. If the items in the array are not 1, 2, 4, 8 or 16 bytes in size, RuntimeError is raised. Note, that for complex types the order of components (the real part, followed by imaginary part) is preserved.
array/array.byteswap
array.byteswap