You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buf.write(slice) with a buffer containing binary data doesn't work. It throws ERR_INVALID_ARG_TYPE "TypeError: argument must be a string"
How would I return binary data? If I just do buf.write(slice.toString()) then the encoding seems incorrect and the hex data received by the terminal is wrong.
The text was updated successfully, but these errors were encountered:
https://github.com/fuse-friends/fuse-native/blob/master/example.js#L63
buf.write(slice)
with a buffer containing binary data doesn't work. It throws ERR_INVALID_ARG_TYPE "TypeError: argument must be a string"How would I return binary data? If I just do
buf.write(slice.toString())
then the encoding seems incorrect and the hex data received by the terminal is wrong.The text was updated successfully, but these errors were encountered: