Concatenating bit strings

julia> UInt128(0x01) << 64 | UInt128(0x02)
0x00000000000000010000000000000002

Of course, you could use smaller sized values if your largest expected bit strings fit.

3 Likes