ソースを参照

New functions for the blob class.

Henrique Gottardi Werlang 7 ヶ月 前
コミット
addc99923d
1 ファイル変更3 行追加0 行削除
  1. 3 0
      packages/rtl/src/weborworker.pas

+ 3 - 0
packages/rtl/src/weborworker.pas

@@ -295,6 +295,9 @@ type
     function slice(aStart,aEnd : NativeInt) : TJSBlob; overload;
     function slice(aStart,aEnd : NativeInt; AContentType : String) : TJSBlob; overload;
     function arrayBuffer : TJSPromise;
+    function bytes: TJSPromise;
+    function stream: TJSReadableStream;
+    function text: TJSPromise;
     property size : NativeInt read FSize;
     property _type : string read FType; deprecated;
     property type_ : string read FType;