From 45cb166669973f6fb2fbd2f9c9a07ae120b9f78e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Van=20Canneyt?= Date: Thu, 27 Feb 2025 20:58:33 +0100 Subject: [PATCH] * Add toBase64, patch by Henrique Gottardi Werlang --- packages/rtl/src/js.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/rtl/src/js.pas b/packages/rtl/src/js.pas index a11d796..8b25741 100644 --- a/packages/rtl/src/js.pas +++ b/packages/rtl/src/js.pas @@ -631,6 +631,8 @@ type class function _of(aValue : TJSValueDynArray) : TJSInt8Array; varargs; external name 'of'; reintroduce; overload; function subarray(aBegin, aEnd: Integer): TJSInt8Array; overload; function subarray(aBegin: Integer): TJSInt8Array; overload; + function toBase64: String; + function toBase64(options: TJSObject): String; procedure _set(anArray : Array of ShortInt); external name 'set'; reintroduce; overload; procedure _set(anArray : Array of ShortInt; anOffset : NativeInt); external name 'set'; property values[Index : NativeInt] : Shortint Read getTypedValue Write setTypedValue; default;