-
-
Notifications
You must be signed in to change notification settings - Fork 141
add support for ByteBuffer to ArrayBuffer conversion #379
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
Conversation
💚 |
💔 |
💚 |
ping @atanasovg @blagoev @Pip3r4o @Plamen5kov |
💚 |
👍 |
💚 |
@slavchev Seems current only direct byte buffer is supported, how about heap buffere? I am using nativescript-websocket plugin which is using java-websocket, but unfortunately it returns java.nio.HeapByteArray for every received message, when I use ArrayBuffer.from(..), there will be error message 'Error: Direct ByteBuffer expected)', so how can I get rid of this without doing data copy? Thanks. |
@andy-maca Currently I don't work on NativeScript Android Runtime, but I looked at the implementation and it should be easy to extend it. I used |
This PR deprecates #365