-
-
Notifications
You must be signed in to change notification settings - Fork 579
Description
Are there any plans to add the capability of working with bytes - instead of files - to the API?
More context:
I created a tiny tool that converts an 8-page PDF to PocketMod in WebAssembly. Many of the tools I needed (rotating pages, rearranging them, merging them, etc.) that can operate on bytes were already there. The only missing part was ExtractPages(...) - for my use case.
I also experimented with the idea of working with a "File System" inside WebAssembly (e.g., messing around with the JavaScript file included in Go WebAssembly to make it possible to use IndexedDB or something as the storage), and it turned out to be a far greater challenge than just transforming byte streams in memory.
This issue aims to determine whether there are any plans/interests for this, better support for WebAssembly and whether it is worth pursuing because it is not a small change.