sphere
sphere copied to clipboard
implementation of CellId.to_token and from_token slightly different from the official one
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.
Thanks for the report. I'll have a go at fixing it.
Thanks, sounds great!