One can do
reinterpret(UInt64, rand(UInt16,4))
to convert an array of UInt64 into a UInt64 but if there a function to do a reverse of that? I tried
reinterpret(Array{UInt16,1}, rand(UInt64))
and it doesn’t work. I can do this manually using bitshifts, but I wonder if there is a function that does that already.