API / Js / Typed_array / Dataview

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 MDN

t

RESCRIPT
type t = Js_typed_array2.DataView.t

make

RESCRIPT
let make: array_buffer => t

fromBuffer

RESCRIPT
let fromBuffer: array_buffer => t

fromBufferOffset

RESCRIPT
let fromBufferOffset: (array_buffer, int) => t

fromBufferRange

RESCRIPT
let fromBufferRange: (array_buffer, ~offset: int, ~length: int) => t

buffer

RESCRIPT
let buffer: t => array_buffer

byteLength

RESCRIPT
let byteLength: t => int

byteOffset

RESCRIPT
let byteOffset: t => int

getInt8

RESCRIPT
let getInt8: (t, int) => int

getUint8

RESCRIPT
let getUint8: (t, int) => int

getInt16

RESCRIPT
let getInt16: (t, int) => int

getInt16LittleEndian

RESCRIPT
let getInt16LittleEndian: (t, int) => int

getUint16

RESCRIPT
let getUint16: (t, int) => int

getUint16LittleEndian

RESCRIPT
let getUint16LittleEndian: (t, int) => int

getInt32

RESCRIPT
let getInt32: (t, int) => int

getInt32LittleEndian

RESCRIPT
let getInt32LittleEndian: (t, int) => int

getUint32

RESCRIPT
let getUint32: (t, int) => int

getUint32LittleEndian

RESCRIPT
let getUint32LittleEndian: (t, int) => int

getFloat32

RESCRIPT
let getFloat32: (t, int) => float

getFloat32LittleEndian

RESCRIPT
let getFloat32LittleEndian: (t, int) => float

getFloat64

RESCRIPT
let getFloat64: (t, int) => float

getFloat64LittleEndian

RESCRIPT
let getFloat64LittleEndian: (t, int) => float

setInt8

RESCRIPT
let setInt8: (t, int, int) => unit

setUint8

RESCRIPT
let setUint8: (t, int, int) => unit

setInt16

RESCRIPT
let setInt16: (t, int, int) => unit

setInt16LittleEndian

RESCRIPT
let setInt16LittleEndian: (t, int, int) => unit

setUint16

RESCRIPT
let setUint16: (t, int, int) => unit

setUint16LittleEndian

RESCRIPT
let setUint16LittleEndian: (t, int, int) => unit

setInt32

RESCRIPT
let setInt32: (t, int, int) => unit

setInt32LittleEndian

RESCRIPT
let setInt32LittleEndian: (t, int, int) => unit

setUint32

RESCRIPT
let setUint32: (t, int, int) => unit

setUint32LittleEndian

RESCRIPT
let setUint32LittleEndian: (t, int, int) => unit

setFloat32

RESCRIPT
let setFloat32: (t, int, float) => unit

setFloat32LittleEndian

RESCRIPT
let setFloat32LittleEndian: (t, int, float) => unit

setFloat64

RESCRIPT
let setFloat64: (t, int, float) => unit

setFloat64LittleEndian

RESCRIPT
let setFloat64LittleEndian: (t, int, float) => unit