API / Js / TypedArray_dataView

TypedArray.DataView

Provide bindings to JS typed array DataView.

t

RES
type t = Js_typed_array2.DataView.t

make

RES
let make: Js_typed_array.array_buffer => t

fromBuffer

RES
let fromBuffer: Js_typed_array.array_buffer => t

fromBufferOffset

RES
let fromBufferOffset: (Js_typed_array.array_buffer, int) => t

fromBufferRange

RES
let fromBufferRange: (Js_typed_array.array_buffer, ~offset: int, ~length: int) => t

buffer

RES
let buffer: t => Js_typed_array.array_buffer

byteLength

RES
let byteLength: t => int

byteOffset

RES
let byteOffset: t => int

getInt8

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

getUint8

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

getInt16

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

getInt16LittleEndian

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

getUint16

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

getUint16LittleEndian

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

getInt32

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

getInt32LittleEndian

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

getUint32

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

getUint32LittleEndian

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

getFloat32

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

getFloat32LittleEndian

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

getFloat64

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

getFloat64LittleEndian

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

setInt8

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

setUint8

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

setInt16

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

setInt16LittleEndian

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

setUint16

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

setUint16LittleEndian

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

setInt32

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

setInt32LittleEndian

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

setUint32

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

setUint32LittleEndian

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

setFloat32

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

setFloat32LittleEndian

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

setFloat64

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

setFloat64LittleEndian

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