This is the latest docs version
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
  • Twitter
  • GitHub
  • Forum
Core Module
Overview
Core
submodules
  • Array
  • ArrayBuffer
  • AsyncIterator
  • BigInt
  • BigInt64Array
    • Constants
    BigUint64Array
    • Constants
  • Console
  • DataView
    • t
      t
    • v
      fromBuffer
    • v
      fromBufferToEnd
    • v
      fromBufferWithRange
    • v
      buffer
    • v
      byteLength
    • v
      byteOffset
    • v
      getInt8
    • v
      getUint8
    • v
      getInt16
    • v
      getUint16
    • v
      getInt32
    • v
      getUint32
    • v
      getFloat32
    • v
      getFloat64
    • v
      getBigInt64
    • v
      getBigUint64
    • v
      setInt8
    • v
      setUint8
    • v
      setInt16
    • v
      setUint16
    • v
      setInt32
    • v
      setUint32
    • v
      setFloat32
    • v
      setFloat64
    • v
      setBigInt64
    • v
      setBigUint64
  • Date
    • UTC
  • Dict
  • Error
    • URIError
    • TypeError
    • SyntaxError
    • ReferenceError
    • RangeError
    • EvalError
  • Exn
  • Float
    • Constants
    Float32Array
    • Constants
    Float64Array
    • Constants
    Int
    • Constants
    Int16Array
    • Constants
    Int32Array
    • Constants
    Int8Array
    • Constants
  • Internal
  • Intl
    • Segments
    • Segmenter
    • RelativeTimeFormat
    • PluralRules
    • NumberFormat
      • Grouping
    • Locale
    • ListFormat
    • DateTimeFormat
    • Collator
    • Common
  • Iterator
  • JSON
    • Decode
    • Encode
    • Classify
  • List
  • Map
  • MapperRt
  • Math
    • Int
    • Constants
  • Null
  • Nullable
  • Object
  • Option
  • Ordering
  • Promise
  • Re
    • Result
    RegExp
    • Result
  • Result
  • Set
  • String
  • Symbol
  • Type
    • Classify
  • TypedArray
  • Uint16Array
    • Constants
    Uint32Array
    • Constants
    Uint8Array
    • Constants
    Uint8ClampedArray
    • Constants
  • WeakMap
  • WeakSet
  • API / Core / Dataview

    DataView

    t

    RESCRIPT
    type t

    fromBuffer

    RESCRIPT
    let fromBuffer: Core__ArrayBuffer.t => t

    fromBufferToEnd

    RESCRIPT
    let fromBufferToEnd: (Core__ArrayBuffer.t, ~byteOffset: int) => t

    fromBufferWithRange

    RESCRIPT
    let fromBufferWithRange: (Core__ArrayBuffer.t, ~byteOffset: int, ~length: int) => t

    buffer

    RESCRIPT
    let buffer: t => Core__ArrayBuffer.t

    byteLength

    RESCRIPT
    let byteLength: t => int

    byteOffset

    RESCRIPT
    let byteOffset: t => int

    getInt8

    RESCRIPT
    let getInt8: t => int

    getUint8

    RESCRIPT
    let getUint8: t => int

    getInt16

    RESCRIPT
    let getInt16: t => int

    getUint16

    RESCRIPT
    let getUint16: t => int

    getInt32

    RESCRIPT
    let getInt32: t => int

    getUint32

    RESCRIPT
    let getUint32: t => int

    getFloat32

    RESCRIPT
    let getFloat32: t => float

    getFloat64

    RESCRIPT
    let getFloat64: t => float

    getBigInt64

    RESCRIPT
    let getBigInt64: t => bigint

    getBigUint64

    RESCRIPT
    let getBigUint64: t => bigint

    setInt8

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

    setUint8

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

    setInt16

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

    setUint16

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

    setInt32

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

    setUint32

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

    setFloat32

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

    setFloat64

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

    setBigInt64

    RESCRIPT
    let setBigInt64: (t, bigint) => unit

    setBigUint64

    RESCRIPT
    let setBigUint64: (t, bigint) => unit
    Types and values
    • t
      t
    • v
      fromBuffer
    • v
      fromBufferToEnd
    • v
      fromBufferWithRange
    • v
      buffer
    • v
      byteLength
    • v
      byteOffset
    • v
      getInt8
    • v
      getUint8
    • v
      getInt16
    • v
      getUint16
    • v
      getInt32
    • v
      getUint32
    • v
      getFloat32
    • v
      getFloat64
    • v
      getBigInt64
    • v
      getBigUint64
    • v
      setInt8
    • v
      setUint8
    • v
      setInt16
    • v
      setUint16
    • v
      setInt32
    • v
      setUint32
    • v
      setFloat32
    • v
      setFloat64
    • v
      setBigInt64
    • v
      setBigUint64

    © 2024 The ReScript Project

    Software and assets distribution powered by KeyCDN.

    About
    • Community
    • ReScript Association
    Find us on