This object represents a buffer of binary data. Just as the contents of a text file can be represented by a string, the contents of binary files can be represented by a Blob.

Static methods

staticload(path:String):Blob

Loads the contents of the file at the specified path as a Blob object.

Methods

length():Int

Returns:

The number of bytes contained in the object.

save(path:String):Void

Saves the blob to the specified path.

toString():String

Returns:

A String representation of the data interpreted as UTF-8.