@neauoire I think you’re looking for TextDecoder: https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder
See my usage here: https://github.com/remko/uxn.wasm/blob/5a19a40f5e8b06a6c5f9fad9fb87fe61429fb144/src/util/index.js#L42
Top-level
@neauoire I think you’re looking for TextDecoder: https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder See my usage here: https://github.com/remko/uxn.wasm/blob/5a19a40f5e8b06a6c5f9fad9fb87fe61429fb144/src/util/index.js#L42 No comments
|