You are currently looking at the < v8.2.0 docs (Reason v3.6 syntax edition). You can find the latest API docs here.
(These docs cover all versions between v3 to v8 and are equivalent to the old BuckleScript docs before the rebrand)
TypedArray2.DataView
Provide bindings to JS typed array DataView.
t
REtype t;
make
RElet make: Js_typed_array2.array_buffer => t;
fromBuffer
RElet fromBuffer: Js_typed_array2.array_buffer => t;
fromBufferOffset
RElet fromBufferOffset: (Js_typed_array2.array_buffer, int) => t;
fromBufferRange
RElet fromBufferRange: (Js_typed_array2.array_buffer, ~offset: int, ~length: int) => t;
buffer
RElet buffer: t => Js_typed_array2.array_buffer;
byteLength
RElet byteLength: t => int;
byteOffset
RElet byteOffset: t => int;
getInt8
RElet getInt8: (t, int) => int;
getUint8
RElet getUint8: (t, int) => int;
getInt16
RElet getInt16: (t, int) => int;
getInt16LittleEndian
RElet getInt16LittleEndian: (t, int) => int;
getUint16
RElet getUint16: (t, int) => int;
getUint16LittleEndian
RElet getUint16LittleEndian: (t, int) => int;
getInt32
RElet getInt32: (t, int) => int;
getInt32LittleEndian
RElet getInt32LittleEndian: (t, int) => int;
getUint32
RElet getUint32: (t, int) => int;
getUint32LittleEndian
RElet getUint32LittleEndian: (t, int) => int;
getFloat32
RElet getFloat32: (t, int) => float;
getFloat32LittleEndian
RElet getFloat32LittleEndian: (t, int) => float;
getFloat64
RElet getFloat64: (t, int) => float;
getFloat64LittleEndian
RElet getFloat64LittleEndian: (t, int) => float;
setInt8
RElet setInt8: (t, int, int) => unit;
setUint8
RElet setUint8: (t, int, int) => unit;
setInt16
RElet setInt16: (t, int, int) => unit;
setInt16LittleEndian
RElet setInt16LittleEndian: (t, int, int) => unit;
setUint16
RElet setUint16: (t, int, int) => unit;
setUint16LittleEndian
RElet setUint16LittleEndian: (t, int, int) => unit;
setInt32
RElet setInt32: (t, int, int) => unit;
setInt32LittleEndian
RElet setInt32LittleEndian: (t, int, int) => unit;
setUint32
RElet setUint32: (t, int, int) => unit;
setUint32LittleEndian
RElet setUint32LittleEndian: (t, int, int) => unit;
setFloat32
RElet setFloat32: (t, int, float) => unit;
setFloat32LittleEndian
RElet setFloat32LittleEndian: (t, int, float) => unit;
setFloat64
RElet setFloat64: (t, int, float) => unit;
setFloat64LittleEndian
RElet setFloat64LittleEndian: (t, int, float) => unit;