You are currently looking at the v8.2 - v9.0 docs (Reason v3.6 syntax edition). You can find the latest API docs here.
TypedArray.DataView
Provide bindings to JS typed array DataView.
t
REStype t = Js_typed_array2.DataView.t
make
RESlet make: Js_typed_array.array_buffer => t
fromBuffer
RESlet fromBuffer: Js_typed_array.array_buffer => t
fromBufferOffset
RESlet fromBufferOffset: (Js_typed_array.array_buffer, int) => t
fromBufferRange
RESlet fromBufferRange: (Js_typed_array.array_buffer, ~offset: int, ~length: int) => t
buffer
RESlet buffer: t => Js_typed_array.array_buffer
byteLength
RESlet byteLength: t => int
byteOffset
RESlet byteOffset: t => int
getInt8
RESlet getInt8: (t, int) => int
getUint8
RESlet getUint8: (t, int) => int
getInt16
RESlet getInt16: (t, int) => int
getInt16LittleEndian
RESlet getInt16LittleEndian: (t, int) => int
getUint16
RESlet getUint16: (t, int) => int
getUint16LittleEndian
RESlet getUint16LittleEndian: (t, int) => int
getInt32
RESlet getInt32: (t, int) => int
getInt32LittleEndian
RESlet getInt32LittleEndian: (t, int) => int
getUint32
RESlet getUint32: (t, int) => int
getUint32LittleEndian
RESlet getUint32LittleEndian: (t, int) => int
getFloat32
RESlet getFloat32: (t, int) => float
getFloat32LittleEndian
RESlet getFloat32LittleEndian: (t, int) => float
getFloat64
RESlet getFloat64: (t, int) => float
getFloat64LittleEndian
RESlet getFloat64LittleEndian: (t, int) => float
setInt8
RESlet setInt8: (t, int, int) => unit
setUint8
RESlet setUint8: (t, int, int) => unit
setInt16
RESlet setInt16: (t, int, int) => unit
setInt16LittleEndian
RESlet setInt16LittleEndian: (t, int, int) => unit
setUint16
RESlet setUint16: (t, int, int) => unit
setUint16LittleEndian
RESlet setUint16LittleEndian: (t, int, int) => unit
setInt32
RESlet setInt32: (t, int, int) => unit
setInt32LittleEndian
RESlet setInt32LittleEndian: (t, int, int) => unit
setUint32
RESlet setUint32: (t, int, int) => unit
setUint32LittleEndian
RESlet setUint32LittleEndian: (t, int, int) => unit
setFloat32
RESlet setFloat32: (t, int, float) => unit
setFloat32LittleEndian
RESlet setFloat32LittleEndian: (t, int, float) => unit
setFloat64
RESlet setFloat64: (t, int, float) => unit
setFloat64LittleEndian
RESlet setFloat64LittleEndian: (t, int, float) => unit