You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, it looks like the binary format will change the output of this library
https://gist.github.com/bigcalm/4599839 works with 48-bit numbers, but it's the wrong byte-order (no idea if how they are sourcing numbers as well as pack structure is the reason for this).
pack("NnnNN", $time32H, $time16L, $random16ubit, $random32ubit1, $random32ubit2) should work, but this means new interfaces are needed to facilitate interfacing with something to split the time and random source (before encoding to string).
needs a correctly implemented adder to encode to base32 correctly (maybe there is something that can be used for this)
ulid/javascript#11
Need to implement binary and API compatibility with original lib.
Unsure if
pack
can be used, needs tests and toByteArray method.The text was updated successfully, but these errors were encountered: