From e5a6f2e00cb6afcf559e92774d7af89a6e1aa038 Mon Sep 17 00:00:00 2001 From: Syed Jafri Date: Tue, 8 Mar 2022 08:47:32 -0700 Subject: [PATCH 1/2] Add dataStart time to DataView --- std/assembly/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/std/assembly/index.d.ts b/std/assembly/index.d.ts index 14a808bea5..75f06a20d0 100644 --- a/std/assembly/index.d.ts +++ b/std/assembly/index.d.ts @@ -1492,6 +1492,8 @@ declare class ArrayBuffer { declare class DataView { /** The `buffer` accessor property represents the `ArrayBuffer` or `SharedArrayBuffer` referenced by the `DataView` at construction time. */ readonly buffer: ArrayBuffer; + /** Returns raw pointer to data storage including offset (unsafe). */ + readonly dataStart: usize; /** The `byteLength` accessor property represents the length (in bytes) of this view from the start of its `ArrayBuffer` or `SharedArrayBuffer`. */ readonly byteLength: i32; /** The `byteOffset` accessor property represents the offset (in bytes) of this view from the start of its `ArrayBuffer` or `SharedArrayBuffer`. */ From 5112c5059274e03cb142e26e8b7bd5de14c79c66 Mon Sep 17 00:00:00 2001 From: Syed Jafri Date: Tue, 8 Mar 2022 08:49:21 -0700 Subject: [PATCH 2/2] Update NOTICE --- NOTICE | 1 + 1 file changed, 1 insertion(+) diff --git a/NOTICE b/NOTICE index 3160d03559..1e17e4bb19 100644 --- a/NOTICE +++ b/NOTICE @@ -44,6 +44,7 @@ under the licensing terms detailed in LICENSE: * Felipe Gasper * Congcong Cai <77575210+HerrCai0907@users.noreply.github.com> * mooooooi +* Syed Jafri Portions of this software are derived from third-party works licensed under the following terms: