-
Notifications
You must be signed in to change notification settings - Fork 56
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
Port arraybuffer
to ruby
#342
Comments
Hi @kateinoigakukun , what is the status of this issue? |
I think what you need is JavaScript's ArrayBuffer <-> Ruby String (ASCII_8BIT) conversion or just add some methods to If you have any particular idea or implementation, I'm open to discussing it. |
Hmmm certainly worth thinking about.
Of course this is destructive, but no one will spare the old behavior since the current
Here is how to use it. ascii_8bit = JS.fetch("<url>", to_rstr: true).await |
Thank you for your idea. I'll continue exploring ways including yours. |
It seems |
It might not be bad. |
some byte arrays need to port ruby (typically generated by
Marshal.dump
), but no fast wayThe text was updated successfully, but these errors were encountered: