HTML5 File API,我需要使用一个我不够了解的方法(只因为它几乎不记录在内). 我在谈论FileWriter truncate()方法,我知道这是我需要做的.基本上,我不想将文本附加到某些文件数据或使用seek()来覆盖某个部分,而是要用其他的东西覆盖所有的数据(例如从“somedata”到 ...
I'm using HTML5 FileWriter API to save the state of my webapp. I have bit of JS that periodically calls FileWriter.write to do that (so , over time, the write method is called several times). By ...