-
Notifications
You must be signed in to change notification settings - Fork 14
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
sendRaw #54
Comments
The Deno documentation is not fully updated yet, but the JavaScript part is the same in all wrappers: function myJavaScriptFunc(rawData) {
`rawData` is Uint8Array type
} |
Thank you very much! But could you write an full example specifically for the All I want is to upload an image to the frontend page, on the backend I read the image file using deno as a binary array, how can I now send this array using Thank you! |
// Backend
Uint8Array imageArray; // ...
webui.sendRaw("myFunc", imageArray); // Frontend
function myFunc(imageArray) {
// `imageArray` is Uint8Array
}
No, you don't need to bind |
sendRaw()
can you show me an example how to use it?
thank you!
The text was updated successfully, but these errors were encountered: