DataView

E856197

DataView is a low-level JavaScript interface that provides flexible, byte-level read and write access to the contents of an ArrayBuffer, supporting multiple numeric types and endianness.

All labels observed (2)

Label Occurrences
ArrayBufferView 1
DataView canonical 1

How this entity was disambiguated

Statements (82)

Predicate Object
instanceOf JavaScript built-in object ⓘ
low-level binary data interface ⓘ
advantageOverTypedArray supports explicit endianness control ⓘ
supports mixed numeric types in same buffer ⓘ
availableIn Node.js ⓘ
web browsers ⓘ
category binary data and buffers API ⓘ
constructorSignature new DataView(buffer, byteOffset?, byteLength?) ⓘ
defaultEndianness big-endian when littleEndian is not specified ⓘ
definedIn ECMAScript specification ⓘ
linked to: ECMAScript
differsFrom TypedArray ⓘ
hasParameter buffer ⓘ
byteLength ⓘ
byteOffset ⓘ
introducedIn ECMAScript 2015 ⓘ
linked to: ECMAScript
method getBigInt64 ⓘ
getBigUint64 ⓘ
getFloat32 ⓘ
getFloat64 ⓘ
getInt16 ⓘ
getInt32 ⓘ
getInt8 ⓘ
getUint16 ⓘ
getUint32 ⓘ
getUint8 ⓘ
setBigInt64 ⓘ
setBigUint64 ⓘ
setFloat32 ⓘ
setFloat64 ⓘ
setInt16 ⓘ
setInt32 ⓘ
setInt8 ⓘ
setUint16 ⓘ
setUint32 ⓘ
setUint8 ⓘ
methodSignature getBigInt64(byteOffset, littleEndian?) ⓘ
getBigUint64(byteOffset, littleEndian?) ⓘ
getFloat32(byteOffset, littleEndian?) ⓘ
getFloat64(byteOffset, littleEndian?) ⓘ
getInt16(byteOffset, littleEndian?) ⓘ
getInt32(byteOffset, littleEndian?) ⓘ
getInt8(byteOffset) ⓘ
getUint16(byteOffset, littleEndian?) ⓘ
getUint32(byteOffset, littleEndian?) ⓘ
getUint8(byteOffset) ⓘ
setBigInt64(byteOffset, value, littleEndian?) ⓘ
setBigUint64(byteOffset, value, littleEndian?) ⓘ
setFloat32(byteOffset, value, littleEndian?) ⓘ
setFloat64(byteOffset, value, littleEndian?) ⓘ
setInt16(byteOffset, value, littleEndian?) ⓘ
setInt32(byteOffset, value, littleEndian?) ⓘ
setInt8(byteOffset, value) ⓘ
setUint16(byteOffset, value, littleEndian?) ⓘ
setUint32(byteOffset, value, littleEndian?) ⓘ
setUint8(byteOffset, value) ⓘ
namespace global object in JavaScript ⓘ
property buffer ⓘ
byteLength ⓘ
byteOffset ⓘ
propertyType buffer: ArrayBuffer ⓘ
byteLength: number ⓘ
byteOffset: number ⓘ
providesAccessTo ArrayBuffer ⓘ
relatedTo ArrayBuffer ⓘ
BigInt64Array ⓘ
linked to: TypedArray

BigUint64Array ⓘ
linked to: TypedArray

SharedArrayBuffer ⓘ
TypedArray ⓘ
requires ArrayBuffer instance as first argument ⓘ
supportsFeature 64-bit integers (BigInt) in modern engines ⓘ
configurable endianness ⓘ
floating-point numbers ⓘ
signed integers ⓘ
unsigned integers ⓘ
supportsOperation byte-level read access ⓘ
byte-level write access ⓘ
multi-type numeric reads ⓘ
multi-type numeric writes ⓘ
random access to buffer contents ⓘ
usedFor interoperating with low-level binary APIs ⓘ
parsing binary network protocols ⓘ
reading and writing file formats in JavaScript ⓘ

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

ReadableStreamBYOBRequest → viewType → ArrayBufferView ⓘ
linked to: DataView