AGulev / jstodef

Library for sending messages from JavaScript to Defold (Lua)
MIT License
37 stars 7 forks source link

Add ArrayBuffer support #7

Closed aglitchman closed 3 years ago

aglitchman commented 3 years ago

This PR adds the ability to send the ArrayBuffer object to a Defold game. Also, now you can pass strings with the null character.

One of the use cases of this is to implement a file uploading in HTML5. The real-world example is this tool that I was using to debug Live Update's behaviour.

AGulev commented 3 years ago

Great! Thank you!