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

implementation of CellId.to_token and from_token slightly different from the official one #3

Open
wenjinshao opened this issue Jun 22, 2016 · 2 comments

Comments

@wenjinshao
Copy link

Specifically, the official (?) implementation strips all trailing '0's from the token generated from a CellId, and always right-pads '0's to make the input token a 16-character hex representation before constructing a CellId with it.

@jongillham
Copy link
Member

Thanks for the report. I'll have a go at fixing it.

@wenjinshao
Copy link
Author

Thanks, sounds great!

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