From 107fc7257c414c1d190202b570e54d44097b0afc Mon Sep 17 00:00:00 2001 From: Michael Van Canneyt Date: Thu, 6 Feb 2025 11:27:04 +0100 Subject: [PATCH] * Raw bufferObj in TJSTypedArray --- 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 9f51f2c..aa35750 100644 --- a/packages/rtl/src/js.pas +++ b/packages/rtl/src/js.pas @@ -537,6 +537,7 @@ type TJSTypedArray = class external name 'TypedArray' (TJSBufferSource) Private FBuffer: TJSArrayBuffer; external name 'buffer'; + FBufferObj: TJSAbstractArrayBuffer; external name 'buffer'; FByteLength: NativeInt; external name 'byteLength'; FLength: NativeInt; external name 'length'; FByteOffset: NativeInt; external name 'byteOffset'; @@ -599,6 +600,7 @@ type function toLocaleString(locales : string; const Options : TLocaleCompareOptions) : String; overload; function unshift : NativeInt; varargs; property buffer : TJSArrayBuffer read FBuffer; + property bufferObj : TJSAbstractArrayBuffer read FBufferObj; property byteLength : NativeInt Read FByteLength; property byteOffset : NativeInt Read FByteOffset; property length : NativeInt Read FLength;