How doesn't it fit with the spec? FileWriter.write(blob);
On Wed, Mar 6, 2013 at 7:02 PM, Lorin Beer <lorin.beer....@gmail.com> wrote: > Hey folks, > > I was going through the unassigned jira issues, and came across > CB-2406<https://issues.apache.org/jira/browse/CB-2406> > ((https://issues.apache.org/jira/browse/CB-2406), which requests a method > to write binary data to disk. Before commenting to the user on the issue, I > thought I'd get some feedback from you guys. > > My feeling is that while there might be a use case or two, specifying a > binary write mode doesn't fit in with the W3C FileWriter > api<http://www.w3.org/TR/file-writer-api/#idl-def-FileWriter>, > and shouldn't be a change to the File API of cordova. As such, the issue > should probably be closed. > > The way in which the user would/should accomplish this kind of > functionality would be to create a very simple plugin which takes a hex > string and uses the native file writer api to open in binary mode. > > Before commenting to the user on the issue, I thought I'd get some feedback > from you guys. > > > - Lorin >