SnowFlake icon indicating copy to clipboard operation
SnowFlake copied to clipboard

id in binary is 60 bits in length, not 64

Open 520 opened this issue 4 years ago • 1 comments

My generated snowflake id is like 541575807856234496. its binary is 11110000100000100000101001111101110001101110101000000000000 which is 60 bits. i think it should be 64 in length. What's wrong?

520 avatar Apr 12 '21 13:04 520

leftmost zeros is ignored

baobaodu avatar Apr 15 '21 11:04 baobaodu