快速跳转
  • -概览
  • -语言特性
  • -与 JS 互操作
  • -构建系统
Documentation
语言手册
所有的语言特性的参考指南
ReScript & React
ReactJS 的一等公民绑定
GenType
无缝衔接 TypeScript & Flow 集成
Reanalyze
死代码消除 & 停机分析
Exploration
语法查找
探索所有语法结构
API工作台
  • 工作台
  • Blog
  • Twitter
  • 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
  • TypedArrayFloat32Array
  • TypedArrayFloat64Array
  • TypedArrayInt8Array
  • TypedArrayInt16Array
  • TypedArrayInt32Array
  • TypedArrayTypeS
  • TypedArrayUint8Array
  • TypedArrayUint8ClampedArray
  • TypedArrayUint16Array
  • TypedArrayUint32Array
  • TypedArray2ArrayBuffer
  • TypedArray2DataView
  • TypedArray2Float32Array
  • TypedArray2Float64Array
  • TypedArray2Int8Array
  • TypedArray2Int16Array
  • TypedArray2Int32Array
  • TypedArray2Uint8Array
  • TypedArray2Uint8ClampedArray
  • TypedArray2Uint16Array
  • TypedArray2Uint32Array
  • TypedArray2
    • array_buffer
    • array_like
    • module ArrayBuffer
    • module DataView
    • module Float32Array
    • module Float64Array
    • module Int16Array
    • module Int32Array
    • module Int8Array
    • module Uint16Array
    • module Uint32Array
    • module Uint8Array
    • module Uint8ClampedArray
  • TypedArray
  • Types
  • Undefined
  • Vector
API / Js / TypedArray-2

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

Provide bindings to JS typed array.

array_buffer

type array_buffer;

array_like

type array_like('a);

module ArrayBuffer

module Int8Array

module Uint8Array

module Uint8ClampedArray

module Int16Array

module Uint16Array

module Int32Array

module Uint32Array

module Float32Array

module Float64Array

module DataView