Ok, so I'm new to IndexedDB and not particularly experienced with Javascript. Right now, I've got code working such that the user can browse to a file on their file system, and, when selected, the file is broken up into chunks (by using slice), those chunks are converted to Hex strings, and the strings (along with a key) are stored in IndexedDB.
The nice thing about this modality is that a user could select a very large file, and, since I'm using the right constructs, the whole file doesn't have to be loaded in memory all at once.
Now I'm attempting to read those Hex strings back out and have the browser pop a "Save as" dialog when the user clicks a button. The issue is that I haven't managed to find a way to "stream" the data out of IndexedDB into a Save As input. Are any of you aware of a way to do this? I'm coming up pretty short on my end.
Thanks