The DataView
.prototype
property represents the prototype for the DataView
object.
Property attributes of DataView.prototype
| |
---|---|
Writable | no |
Enumerable | no |
Configurable | no |
DataView
instances inherit from DataView.prototype
. As with all constructors, you can change the constructor's prototype object to make changes to all DataView
instances.
DataView.prototype.constructor
DataView
constructor.DataView.prototype.buffer
Read only
ArrayBuffer
referenced by this view. Fixed at construction time and thus read only.
DataView.prototype.byteLength
Read only
ArrayBuffer
. Fixed at construction time and thus read only.
DataView.prototype.byteOffset
Read only
ArrayBuffer
. Fixed at construction time and thus read only.
DataView.prototype.getInt8()
DataView.prototype.getUint8()
DataView.prototype.getInt16()
DataView.prototype.getUint16()
DataView.prototype.getInt32()
DataView.prototype.getUint32()
DataView.prototype.getFloat32()
DataView.prototype.getFloat64()
DataView.prototype.setInt8()
DataView.prototype.setUint8()
DataView.prototype.setInt16()
DataView.prototype.setUint16()
DataView.prototype.setInt32()
DataView.prototype.setUint32()
DataView.prototype.setFloat32()
DataView.prototype.setFloat64()
Specification | Status | Comment |
---|---|---|
ECMAScript 2015 (6th Edition, ECMA-262) The definition of 'DataView.prototype' in that specification. | Standard | Initial definition. |
ECMAScript 2017 Draft (ECMA-262) The definition of 'DataView.prototype' in that specification. | Draft |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 9.0 | 15.0 (15.0) | 10 | 12.1 | 5.1 |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | 4.0 | (Yes) | 15.0 (15) | ? | 12.0 | 4.2 |
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView/prototype