Blob()构造方法返回一个新的Blob对象. 内容是包含参数array的二进制字节流.
语法
var aBlob = new Blob(array, options );
参数
array is an Array of ArrayBuffer, ArrayBufferView, Blob, DOMString objects, or a mix of any of such objects, that will be put inside the Blob. DOMStrings are encoded as UTF-8.
options is an optional BlobPropertyBag dictionary which may specify the following two attributes:
type, with a default value of "", that represents the MIME type of the content of the array that will be put in the blob.
endings, with a default value of "transparent", that specifies how strings containing the line ending character \n are to be written out. It is one of the two values: "native", meaning that line ending characters are changed to match host OS filesystem convention, or "transparent",meaning that endings are stored in the blob without change.
var buffer = new ArrayBuf