Created
May 19, 2015 09:54
-
-
Save skial/123a543d44928b52197c to your computer and use it in GitHub Desktop.
Originally from https://github.com/HaxeFoundation/haxe/blob/a595b0406ca8d601ccec49044e76b3f91d487edd/std/js/html/Blob.hx used in http://haxe.io/releases/3.2.0/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package js.html; | |
@:native("Blob") | |
extern class Blob | |
{ | |
var size(default,null) : Int; | |
var type(default,null) : String; | |
/** @throws DOMError */ | |
@:overload( function() : Void {} ) | |
function new( blobParts : Array<haxe.extern.EitherType<ArrayBuffer,haxe.extern.EitherType<ArrayBufferView,haxe.extern.EitherType<Blob,String>>>>, ?options : BlobPropertyBag ) : Void; | |
/** @throws DOMError */ | |
function slice( ?start : Int, ?end : Int, ?contentType : String = "" ) : Blob; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment