Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
BlobBuilder interface has been
deprecated in favor of the newly introduced
BlobBuilder interface provides an easy way to
Blob objects. Just create a
BlobBuilder and append
chunks of data to it by calling the
append() method. When you're done
building your blob, call
getBlob() to retrieve a
containing the data you sent into the blob builder.
being built. If the value you specify isn't a
the value is coerced to a string before being appended to the blob.
void append( in ArrayBuffer data ); void append( in Blob data ); void append( in String data, [optional] in String endings );
The data to append to the
Specifies how strings containing
\nare to be written out. This can be
"transparent"(endings unchanged) or
"native"(endings changed to match host OS filesystem convention). The default value is
Blob getBlob( in DOMString contentType Optional );
The MIME type of the data to be returned in the
Blob. This will be the value of the
Blobobject's type property.
Blob object containing all of the data passed to any calls to
append() made since the
BlobBuilder was created. This also
BlobBuilder so that the next call to
starting a new, empty blob.
This feature is not part of any specification anymore. It is no more on track to become a standard.
BCD tables only load in the browser