Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

id in binary is 60 bits in length, not 64 #10

Open
520 opened this issue Apr 12, 2021 · 1 comment
Open

id in binary is 60 bits in length, not 64 #10

520 opened this issue Apr 12, 2021 · 1 comment

Comments

@520
Copy link

520 commented Apr 12, 2021

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?

@baobaodu
Copy link

leftmost zeros is ignored

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants