michaelherold / ksuid-ruby

K-Sortable Unique IDentifiers in Ruby
MIT License
53 stars 8 forks source link

Ensure we're compatible with Segment's KSUID library #3

Closed michaelherold closed 7 years ago

michaelherold commented 7 years ago

I started doing some compatibility tests and noticed that we're incompatible with the main library, even though the max is decoded properly. I have a feeling this is due to some endianness issues. My use of Array#pack and String#unpack is probably incorrect.

michaelherold commented 7 years ago

This was solved by 49ad67e7e6f67a3837a02a0d91d9584204592ccd, but I forgot to tag the issue.