Skip to content

Commit f3d580b

Browse files
authored
Add DataView dataStart definition (#2224)
1 parent a3dcd5d commit f3d580b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: NOTICE

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ under the licensing terms detailed in LICENSE:
4545
* Congcong Cai <[email protected]>
4646
* mooooooi <[email protected]>
4747
* Yasushi Ando <[email protected]>
48+
* Syed Jafri <[email protected]>
4849

4950
Portions of this software are derived from third-party works licensed under
5051
the following terms:

Diff for: std/assembly/index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1504,6 +1504,8 @@ declare class ArrayBuffer {
15041504
declare class DataView {
15051505
/** The `buffer` accessor property represents the `ArrayBuffer` or `SharedArrayBuffer` referenced by the `DataView` at construction time. */
15061506
readonly buffer: ArrayBuffer;
1507+
/** Returns raw pointer to data storage including offset (unsafe). */
1508+
readonly dataStart: usize;
15071509
/** The `byteLength` accessor property represents the length (in bytes) of this view from the start of its `ArrayBuffer` or `SharedArrayBuffer`. */
15081510
readonly byteLength: i32;
15091511
/** The `byteOffset` accessor property represents the offset (in bytes) of this view from the start of its `ArrayBuffer` or `SharedArrayBuffer`. */

0 commit comments

Comments
 (0)