Skip to content

Commit 07e9c15

Browse files
authored
Merge pull request #1146 from peterwangfeng/patch-1
Update arraybuffer.md
2 parents 6d244f6 + 7fc248d commit 07e9c15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/arraybuffer.md

+4
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ const dv = new DataView(buffer);
754754
- **`getUint16`**:读取 2 个字节,返回一个无符号的 16 位整数。
755755
- **`getInt32`**:读取 4 个字节,返回一个 32 位整数。
756756
- **`getUint32`**:读取 4 个字节,返回一个无符号的 32 位整数。
757+
- **`getBigInt64`**:读取 8 个字节,返回一个 64 位整数。
758+
- **`getBigUint64`**:读取 8 个字节,返回一个无符号的 64 位整数。
757759
- **`getFloat32`**:读取 4 个字节,返回一个 32 位浮点数。
758760
- **`getFloat64`**:读取 8 个字节,返回一个 64 位浮点数。
759761

@@ -796,6 +798,8 @@ DataView 视图提供 8 个方法写入内存。
796798
- **`setUint16`**:写入 2 个字节的 16 位无符号整数。
797799
- **`setInt32`**:写入 4 个字节的 32 位整数。
798800
- **`setUint32`**:写入 4 个字节的 32 位无符号整数。
801+
- **`setBigInt64`**:写入 8 个字节的 64 位整数。
802+
- **`setBigUint64`**:写入 8 个字节的 64 位无符号整数。
799803
- **`setFloat32`**:写入 4 个字节的 32 位浮点数。
800804
- **`setFloat64`**:写入 8 个字节的 64 位浮点数。
801805

0 commit comments

Comments
 (0)