Blob

Blob

package js-html

extended by File

Available on js

A Blob object represents a file-like object of immutable, raw data- Blobs represent data that isn't necessarily in a JavaScript-native format- The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system-

Documentation Blob by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (blobParts:Array<EitherType<ArrayBuffer, EitherType<ArrayBufferView, EitherType<Blob, String>>>>, ?options:BlobPropertyBag)

new ()

Throws:

null DOMError

Variables

read only size:Int

The size, in bytes, of the data contained in the Blob object-

read only type:String

A string indicating the MIME type of the data contained in the Blob- If the type is unknown, this string is empty-

Methods

slice (?start:Int, ?end:Int, contentType:String = ""):Blob

Throws:

null DOMError

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/Blob.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部