mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-21 03:09:07 +02:00
New functions for the blob class.
This commit is contained in:
parent
c6833bc17f
commit
addc99923d
@ -295,6 +295,9 @@ type
|
|||||||
function slice(aStart,aEnd : NativeInt) : TJSBlob; overload;
|
function slice(aStart,aEnd : NativeInt) : TJSBlob; overload;
|
||||||
function slice(aStart,aEnd : NativeInt; AContentType : String) : TJSBlob; overload;
|
function slice(aStart,aEnd : NativeInt; AContentType : String) : TJSBlob; overload;
|
||||||
function arrayBuffer : TJSPromise;
|
function arrayBuffer : TJSPromise;
|
||||||
|
function bytes: TJSPromise;
|
||||||
|
function stream: TJSReadableStream;
|
||||||
|
function text: TJSPromise;
|
||||||
property size : NativeInt read FSize;
|
property size : NativeInt read FSize;
|
||||||
property _type : string read FType; deprecated;
|
property _type : string read FType; deprecated;
|
||||||
property type_ : string read FType;
|
property type_ : string read FType;
|
||||||
|
Loading…
Reference in New Issue
Block a user