Module Typed_array.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.
see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView MDN
type t;let make: Js.arrayBuffer => t;let fromBuffer: Js.arrayBuffer => ?off:int => ?len:int => unit => t;let buffer: t => Js.arrayBuffer;let byteLength: t => int;let byteOffset: t => int;let getInt8: int => t => int;let getUint8: int => t => int;let getInt16: int => t => int;let getInt16LittleEndian: int => t => int;let getUint16: int => t => int;let getUint16LittleEndian: int => t => int;let getInt32: int => t => int;let getInt32LittleEndian: int => t => int;let getUint32: int => t => int;let getUint32LittleEndian: int => t => int;let getFloat32: int => t => float;let getFloat32LittleEndian: int => t => float;let getFloat64: int => t => float;let getFloat64LittleEndian: int => t => float;let setInt8: int => int => t => unit;let setUint8: int => int => t => unit;let setInt16: int => int => t => unit;let setInt16LittleEndian: int => int => t => unit;let setUint16: int => int => t => unit;let setUint16LittleEndian: int => int => t => unit;let setInt32: int => int => t => unit;let setInt32LittleEndian: int => int => t => unit;let setUint32: int => int => t => unit;let setUint32LittleEndian: int => int => t => unit;let setFloat32: int => float => t => unit;let setFloat32LittleEndian: int => float => t => unit;let setFloat64: int => float => t => unit;let setFloat64LittleEndian: int => float => t => unit;