Does numpy have functions to convert between e.g. an array of uint32 and uint8, where the uint32 array is a packed version of the uint8 array (selecting little/big endian)?