From addc99923ddd1e3dfdd94dc6b57881bad13450ea Mon Sep 17 00:00:00 2001 From: Henrique Gottardi Werlang Date: Mon, 20 Jan 2025 17:44:54 -0300 Subject: [PATCH] New functions for the blob class. --- packages/rtl/src/weborworker.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/rtl/src/weborworker.pas b/packages/rtl/src/weborworker.pas index 451cdb8..b8f8518 100644 --- a/packages/rtl/src/weborworker.pas +++ b/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;