converts byte array to 16/32/64-bit unsigned int arrays