Can I save the "IndexedDB" file into disk??

在 2017年8月10日星期四 UTC+8下午6:13:53,jj写道:
>
> IDBFS uses browser's IndexedDB to persist the files. See 
> https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API and 
> https://developer.mozilla.org/en-US/docs/Tools/Storage_Inspector. 
>
> 2017-08-10 13:08 GMT+03:00 Wanghb Wang <wang...@gmail.com <javascript:>>: 
> > I learn from the website 
> > 
> https://kripken.github.io/emscripten-site/docs/api_reference/Filesystem-API.html.
>  
>
> > I use the followed code to create a file, However, I cannot find the 
> file. 
> > Where is it? 
> >   EM_ASM( 
> >                 FS.mkdir('/IDBFS'); 
> >                 FS.mount(IDBFS,{},'/IDBFS'); 
> >                 FS.syncfs(true, function(err){ 
> >                         assert(!err); 
> > 
> > open("/IDBFS/moar.txt", "r+"); 
> >         //      fopen("/IDBFS/test.test.pcm","wb"); 
> > }); 
> > ); 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "emscripten-discuss" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to emscripten-discuss+unsubscr...@googlegroups.com <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to