Skip to Content
JavaScript: The Definitive Guide, 6th Edition
book

JavaScript: The Definitive Guide, 6th Edition

by David Flanagan
May 2011
Intermediate to advanced
1093 pages
40h 54m
English
O'Reilly Media, Inc.
Content preview from JavaScript: The Definitive Guide, 6th Edition

Name

ArrayBufferView — common properties for types based on ArrayBuffers

Synopsis

ArrayBufferView serves as a superclass for types that provide access to the bytes of an ArrayBuffer. You can’t create an ArrayBufferView directly: it exists to define the common properties for subtypes like TypedArray and DataView.

Properties

readonly ArrayBuffer buffer

The underlying ArrayBuffer that this object is a view of.

readonly unsigned long byteLength

The length, in bytes, of the portion of buffer that is accessible through this view.

readonly unsigned long byteOffset

The starting position, in bytes, of the portion of the buffer that is accessible through this view.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JavaScript: The Definitive Guide, 5th Edition

JavaScript: The Definitive Guide, 5th Edition

David Flanagan

Publisher Resources

ISBN: 9781449393854Errata PageSupplemental Content