Closed xwdeng closed 7 years ago
I think the result is the same in both cases, thanks to the fact that left shifts on longs only take the six lowest-order bits of the right-hand operand [1]. However your version certainly is the correct thing to do indeed.
[1] http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.19
Fixed.
I saw that in mergeLongArrayIntoIPv6Address(long[] longs):
is it a typo since I am thinking it should be: