Skip to content

Instantly share code, notes, and snippets.

@shhider
Last active November 19, 2021 01:48
Show Gist options
  • Save shhider/f3d8c1112df2b0137618349e8d86c76c to your computer and use it in GitHub Desktop.
Save shhider/f3d8c1112df2b0137618349e8d86c76c to your computer and use it in GitHub Desktop.
[JavaScript Binary Data: ArrayBuffer, Uint8Array...]

ArrayBuffer 是一个基本的二进制对象 —— 对固定长度的连续内存空间的引用。

Uint8Array, Uint16Array, Uint32Array, Float64Array 等是 View,通过这些对象来「解释」二进制数据,统称为TypedArray.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment