Global Index
HTML5 JS API Index > File API Tutorials & Specs

BlobBuilder

The BlobBuilder is used to construct Blobs.

Constructor
BlobBuilder()
Operations
void
append(any text_data, optional DOMString endings)
Appends the supplied text to the current contents of the BlobBuilder, writing it as UTF-8, converting newlines as specified in endings.
Blob
getBlob(optional DOMString contentType)
Returns the current contents of the BlobBuilder as a Blob.