Kaynağa Gözat

New functions for the blob class.

Henrique Gottardi Werlang 7 ay önce
ebeveyn
işleme
addc99923d
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  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;