goog.testing.fs.Blob
Provided By | |
---|---|
All Known Direct Subclasses |
A mock Blob object. The data is stored as an Array of bytes, a "byte" being a JS number in the range 0-255.
This blob simplifies writing test code because it has the toString() method that returns immediately, while the File API only provides asynchronous reads.
new Blob( opt_data, opt_type )
Parameters |
| ||||||||
---|---|---|---|---|---|---|---|---|---|
See Also |