Quick Links
  • -Overview
  • -Language Features
  • -JS Interop
  • -Build System
Documentation
Language Manual
Reference for all language features
ReScript & React
First class bindings for ReactJS
GenType
Seamless TypeScript integration
Reanalyze
Dead Code & Termination analysis
Exploration
Packages
Explore third party libraries and bindings
Syntax Lookup
Discover all syntax constructs
APIPlaygroundBlogCommunity
  • Playground
  • Blog
  • X
  • BlueSky
  • GitHub
  • Forum
JS Module
Overview
  • JS
Submodules
  • Array2
  • Array
  • Console
  • Date
  • Dict
  • Exn
  • Float
  • Global
  • Int
  • Json
  • List
  • Math
  • NullUndefined
  • Null
  • Nullable
  • Obj
  • Option
  • Promise
  • Re
  • Result
  • String2
  • String
  • TypedArrayArrayBuffer
  • TypedArrayDataView
    • t
    • buffer
    • byteLength
    • byteOffset
    • fromBuffer
    • fromBufferOffset
    • fromBufferRange
    • getFloat32
    • getFloat32LittleEndian
    • getFloat64
    • getFloat64LittleEndian
    • getInt16
    • getInt16LittleEndian
    • getInt32
    • getInt32LittleEndian
    • getInt8
    • getUint16
    • getUint16LittleEndian
    • getUint32
    • getUint32LittleEndian
    • getUint8
    • make
    • setFloat32
    • setFloat32LittleEndian
    • setFloat64
    • setFloat64LittleEndian
    • setInt16
    • setInt16LittleEndian
    • setInt32
    • setInt32LittleEndian
    • setInt8
    • setUint16
    • setUint16LittleEndian
    • setUint32
    • setUint32LittleEndian
    • setUint8
  • TypedArrayFloat32Array
  • TypedArrayFloat64Array
  • TypedArrayInt8Array
  • TypedArrayInt16Array
  • TypedArrayInt32Array
  • TypedArrayTypeS
  • TypedArrayUint8Array
  • TypedArrayUint8ClampedArray
  • TypedArrayUint16Array
  • TypedArrayUint32Array
  • TypedArray2ArrayBuffer
  • TypedArray2DataView
  • TypedArray2Float32Array
  • TypedArray2Float64Array
  • TypedArray2Int8Array
  • TypedArray2Int16Array
  • TypedArray2Int32Array
  • TypedArray2Uint8Array
  • TypedArray2Uint8ClampedArray
  • TypedArray2Uint16Array
  • TypedArray2Uint32Array
  • TypedArray2
  • TypedArray
  • Types
  • Undefined
  • Vector
API / Js / TypedArray_dataView

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

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

© 2024 The ReScript Project

Software and assets distribution powered by KeyCDN.

About
  • Community
  • ReScript Association
Find us on