AI Workshop: learn to build apps with AI →
Binary Data: ArrayBufferView

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


An ArrayBufferView is a portion of an ArrayBuffer.

It has an offset and a length.

Once created, it provides 3 read-only properties:

  • buffer points to the original ArrayBuffer
  • byteOffset is the offset on that buffer
  • byteLength is the length of its content in bytes

Typed Arrays and DataViews are instances of an ArrayBufferView.

Lessons in this unit:

0: Introduction
1: ArrayBuffer
2: ▶︎ ArrayBufferView
3: Typed Arrays
4: DataView
5: Data URLs