Re: New draft of FileWriter API posted

On Tue, 09 Mar 2010 21:51:28 -0500, Eric Uhrhane <ericu@google.com> wrote:

> I've rolled in the feedback so far.  I've left the line endings as an
> open issue for now.

What about doing like C does for writing files. You have text translated  
mode (the default) and binary mode. Binary mode writes things as-is and  
translated mode converts newlines to the platform format.

With that said, I would think that the mode would be something you set  
before using write() on FileWriter, and not something append() does when  
building the blob.

> On Fri, Mar 5, 2010 at 6:01 PM, Eric Uhrhane <ericu@google.com> wrote:
>> I've just posted a new draft of the File Writer API [1], based on the
>> version I posted in January [2].  I look forward to your feedback.  In
>> the mean time, I'll get going on a clean draft of the FileSystem API.
>>
>> Thanks,
>>
>>      Eric Uhrhane
>>      ericu@google.com
>>
>> [1] http://dev.w3.org/2009/dap/file-system/file-writer.html
>> [2]  
>> http://lists.w3.org/Archives/Public/public-device-apis/2010Jan/0228.html
>>
>


-- 
Michael

Received on Wednesday, 10 March 2010 07:53:56 UTC