diff options
author | A1lo <yin199909@aliyun.com> | 2021-12-13 21:27:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 21:27:19 +0800 |
commit | 1a6f1674cbd40946e6032ce61adadfa2d278182c (patch) | |
tree | 5f8345ffcc71ea627b6f11d0b9395b2927eac8bc | |
parent | 322c7b894df365d38a1279ac181bfcc99950d42d (diff) | |
download | translated-content-1a6f1674cbd40946e6032ce61adadfa2d278182c.tar.gz translated-content-1a6f1674cbd40946e6032ce61adadfa2d278182c.tar.bz2 translated-content-1a6f1674cbd40946e6032ce61adadfa2d278182c.zip |
Add Web/API/ArrayBufferView, zh-CN (#3322)
-rw-r--r-- | files/zh-cn/web/api/arraybufferview/index.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/arraybufferview/index.md b/files/zh-cn/web/api/arraybufferview/index.md new file mode 100644 index 0000000000..b4afcc2238 --- /dev/null +++ b/files/zh-cn/web/api/arraybufferview/index.md @@ -0,0 +1,33 @@ +--- +title: ArrayBufferView +slug: Web/API/ArrayBufferView +tags: + - API + - Interface + - JavaScript + - Reference + - Typed Arrays +translation_of: Web/API/ArrayBufferView +--- +{{APIRef}} + +**`ArrayBufferView`** 是一个表示以下任意一个 {{jsxref("TypedArray")}} 类型的辅助数据类型: + +- {{jsxref("Int8Array")}} +- {{jsxref("Uint8Array")}} +- {{jsxref("Uint8ClampedArray")}} +- {{jsxref("Int16Array")}} +- {{jsxref("Uint16Array")}} +- {{jsxref("Int32Array")}} +- {{jsxref("Uint32Array")}} +- {{jsxref("Float32Array")}} +- {{jsxref("Float64Array")}} +- {{jsxref("DataView")}} + +这是一种简化规范的辅助数据类型,它不是一个接口,也没有实现它的对象。 + +## 规范 + +| Specification | Status | Comment | +| -------------------------------------------------------------------------------- | ------------------------ | ------------------- | +| {{SpecName('WebIDL', "#ArrayBufferView", "ArrayBufferView")}} | {{Spec2('WebIDL')}} | Initial definition. | |