JavaScript DataView

The DataView offers a fundamental interface that allows for the reading and writing of various numeric types within an ArrayBuffer.

Here is a compilation of JavaScript DataView methods along with their explanations.

Methods Description
DataView.getFloat32() The JavaScript DataView.getFloat32() method is used to get 32-bit float number at a specified location.
DataView.getFloat64() The JavaScript DataView.getFloat64() method is used to get 64-bit float(double) number at a specified location.
DataView.getInt16() The JavaScript DataView.getInt16() method is used to gets a signed 16-bit integer(short) number at a specified location.
Dataview.getInt32() The JavaScript DataView.getInt32() method is used to gets a signed 32-bit integer(long) number at a specified location.
DataView.getInt8() The JavaScript DataView.getInt8() method is used to gets a signed 8-bit integer(byte) number at a specified location.
DataView.getUint16() The JavaScript DataView.getUint16() method is used to gets a unsigned 16-bit integer(unsigned short) number at a specified location.
DataView.getUint32() The JavaScript DataView.getUint32() method is used to gets a unsigned 32-bit integer(unsigned long) number at a specified location.
DataView.getUint8() The JavaScript DataView.getUint8() method is used to gets a unsigned 8-bit integer(unsigned byte) number at a specified location.

Input Required

This code uses input(). Please provide values below: