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.


Download my free JavaScript Beginner's Handbook!


Check out my in-depth, practical Web Development Courses!

(all 50% off with the coupon code POSITIVEVIBRATIONS)

⤴️⤴️⤴️