ArrayBufferView
Find out what is an ArrayBufferView object and how to use it
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 ArrayBufferbyteOffset
is the offset on that bufferbyteLength
is the length of its content in bytes
Typed Arrays and DataViews are instances of an ArrayBufferView.
→ Here's my latest YouTube video
→ I wrote 17 books to help you become a better developer, download them all at $0 cost by joining my newsletter
→ JOIN MY CODING BOOTCAMP, an amazing cohort course that will be a huge step up in your coding career - covering React, Next.js - next edition February 2025