Re: File descriptors

2010/10/4  <>:
> Hello again,
> thanks for your replies, let me address them one by one:
> Eric: Does not slicing a Blob require for it to be read into memory first
> with functions such as getTextAsBinary?

No.  If you use FileReader.readAsBinaryString, you're reading it into
memory, and what you've got is a string, not a blob.  Just use slice()
on the original blob, which need not be in memory [in fact I think
most large blobs will reside on disk in most implementations].

> Boris: Might be, will see how other things play out.
> Jonas: I keep getting undefined for "myFile.url".
> Thanks again.
> --Luka Marčetić

Received on Monday, 4 October 2010 23:16:27 UTC