Results 1 - 20 of 21
The
DataView
view provides a low-level interface for reading and writing multiple number types in an
ArrayBuffer
irrespective of the platform's endianness.
The
DataView
.prototype
property represents the prototype for the
DataView
object.
The
buffer
accessor property represents the
ArrayBuffer
referenced by the
DataView
at construction time.
The
byteLength
accessor property represents the length (in bytes) of this view from the start of its
ArrayBuffer
.
The
byteOffset
accessor property represents the offset (in bytes) of this view from the start of its
ArrayBuffer
.
The
getFloat32()
method gets a signed 32-bit float (float) at the specified byte offset from the start of the
DataView
.
The
getFloat64()
method gets a signed 64-bit float (double) at the specified byte offset from the start of the
DataView
.
The
getInt16()
method gets a signed 16-bit integer (short) at the specified byte offset from the start of the
DataView
.
The
getInt32()
method gets a signed 32-bit integer (long) at the specified byte offset from the start of the
DataView
.
The
getInt8()
method gets a signed 8-bit integer (byte) at the specified byte offset from the start of the
DataView
.
The
getUint16()
method gets an unsigned 16-bit integer (unsigned short) at the specified byte offset from the start of the
DataView
.
The
getUint32()
method gets an unsigned 32-bit integer (unsigned long) at the specified byte offset from the start of the
DataView
.
The
getUint8()
method gets an unsigned 8-bit integer (unsigned byte) at the specified byte offset from the start of the
DataView
.
The
setFloat32()
method stores a signed 32-bit float (float) value at the specified byte offset from the start of the
DataView
.
The
setFloat64()
method stores a signed 64-bit float (double) value at the specified byte offset from the start of the
DataView
.
The
setInt16()
method stores a signed 16-bit integer (short) value at the specified byte offset from the start of the
DataView
.
The
setInt32()
method stores a signed 32-bit integer (long) value at the specified byte offset from the start of the
DataView
.
The
setInt8()
method stores a signed 8-bit integer (byte) value at the specified byte offset from the start of the
DataView
.
The
setUint16()
method stores an unsigned 16-bit integer (unsigned short) value at the specified byte offset from the start of the
DataView
.
The
setUint32()
method stores an unsigned 32-bit integer (unsigned long) value at the specified byte offset from the start of the
DataView
.