TypedArray2.DataView
The DataView view provides a low-level interface for reading and writing multiple number types in an ArrayBuffer irrespective of the platform's endianness.
let make: array_buffer => t;
let fromBuffer: array_buffer => t;
let fromBufferOffset: array_buffer => int => t;
let fromBufferRange: array_buffer => offset:int => length:int => t;
let buffer: t => array_buffer;
let byteLength: t => int;
let byteOffset: t => int;
let getInt8: t => int => int;
let getUint8: t => int => int;
let getInt16: t => int => int;
let getInt16LittleEndian: t => int => int;
let getUint16: t => int => int;
let getUint16LittleEndian: t => int => int;
let getInt32: t => int => int;
let getInt32LittleEndian: t => int => int;
let getUint32: t => int => int;
let getUint32LittleEndian: t => int => int;
let getFloat32: t => int => float;
let getFloat32LittleEndian: t => int => float;
let getFloat64: t => int => float;
let getFloat64LittleEndian: t => int => float;
let setInt8: t => int => int => unit;
let setUint8: t => int => int => unit;
let setInt16: t => int => int => unit;
let setInt16LittleEndian: t => int => int => unit;
let setUint16: t => int => int => unit;
let setUint16LittleEndian: t => int => int => unit;
let setInt32: t => int => int => unit;
let setInt32LittleEndian: t => int => int => unit;
let setUint32: t => int => int => unit;
let setUint32LittleEndian: t => int => int => unit;
let setFloat32: t => int => float => unit;
let setFloat32LittleEndian: t => int => float => unit;
let setFloat64: t => int => float => unit;
let setFloat64LittleEndian: t => int => float => unit;