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

toBytes #481

Closed
xenoterracide opened this issue Jul 17, 2020 · 3 comments · Fixed by #479
Closed

toBytes #481

xenoterracide opened this issue Jul 17, 2020 · 3 comments · Fixed by #479

Comments

@xenoterracide
Copy link

xenoterracide commented Jul 17, 2020

we have need for decoding the standard uuid format to just the bytes, the reason for this is we want to re-encode as url encoded base64 to shorten our urls. note, if you wanted to provide a function for that as well... use something like

base64( toBytes( uuidv4() ) )

also an inverse

fromBytes

@ctavan
Copy link
Member

ctavan commented Jul 17, 2020

We'll release this soon, see #479

@ctavan
Copy link
Member

ctavan commented Jul 22, 2020

@xenoterracide we have just released uuid@8.3.0-beta.0 which includes https://github.com/uuidjs/uuid#uuidparsestr would you mind testing it and report if that works for you?

@ctavan
Copy link
Member

ctavan commented Jul 27, 2020

We have just released uuid@8.3.0 which should fix this issue. Please report back if there any problems.

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

Successfully merging a pull request may close this issue.

2 participants