package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Typed Array binding

class type arrayBuffer = object ... end
val arrayBuffer : (int -> arrayBuffer Js.t) Js.constr
class type arrayBufferView = object ... end
class type ['a, 'b] typedArray = object ... end
type int8Array = (int, [ `Int8 ]) typedArray
type uint8Array = (int, [ `Uint8 ]) typedArray
type int16Array = (int, [ `Int16 ]) typedArray
type uint16Array = (int, [ `Uint16 ]) typedArray
type int32Array = (int, [ `Int32 ]) typedArray
type uint32Array = (float, [ `Uint32 ]) typedArray
type float32Array = (float, [ `Float32 ]) typedArray
type float64Array = (float, [ `Float64 ]) typedArray
val int8Array : (int -> int8Array Js.t) Js.constr
val int8Array_fromArray : (int Js.js_array Js.t -> int8Array Js.t) Js.constr
val int8Array_fromTypedArray : (int8Array Js.t -> int8Array Js.t) Js.constr
val int8Array_fromBuffer : (arrayBuffer Js.t -> int8Array Js.t) Js.constr
val int8Array_inBuffer : (arrayBuffer Js.t -> int -> int -> int8Array Js.t) Js.constr
val uint8Array : (int -> uint8Array Js.t) Js.constr
val uint8Array_fromArray : (int Js.js_array Js.t -> uint8Array Js.t) Js.constr
val uint8Array_fromTypedArray : (uint8Array Js.t -> uint8Array Js.t) Js.constr
val uint8Array_fromBuffer : (arrayBuffer Js.t -> uint8Array Js.t) Js.constr
val uint8Array_inBuffer : (arrayBuffer Js.t -> int -> int -> uint8Array Js.t) Js.constr
val int16Array : (int -> int16Array Js.t) Js.constr
val int16Array_fromArray : (int Js.js_array Js.t -> int16Array Js.t) Js.constr
val int16Array_fromTypedArray : (int16Array Js.t -> int16Array Js.t) Js.constr
val int16Array_fromBuffer : (arrayBuffer Js.t -> int16Array Js.t) Js.constr
val int16Array_inBuffer : (arrayBuffer Js.t -> int -> int -> int16Array Js.t) Js.constr
val uint16Array : (int -> uint16Array Js.t) Js.constr
val uint16Array_fromArray : (int Js.js_array Js.t -> uint16Array Js.t) Js.constr
val uint16Array_fromTypedArray : (uint16Array Js.t -> uint16Array Js.t) Js.constr
val uint16Array_fromBuffer : (arrayBuffer Js.t -> uint16Array Js.t) Js.constr
val uint16Array_inBuffer : (arrayBuffer Js.t -> int -> int -> uint16Array Js.t) Js.constr
val int32Array : (int -> int32Array Js.t) Js.constr
val int32Array_fromArray : (int Js.js_array Js.t -> int32Array Js.t) Js.constr
val int32Array_fromTypedArray : (int32Array Js.t -> int32Array Js.t) Js.constr
val int32Array_fromBuffer : (arrayBuffer Js.t -> int32Array Js.t) Js.constr
val int32Array_inBuffer : (arrayBuffer Js.t -> int -> int -> int32Array Js.t) Js.constr
val uint32Array : (int -> uint32Array Js.t) Js.constr
val uint32Array_fromArray : (float Js.js_array Js.t -> uint32Array Js.t) Js.constr
val uint32Array_fromTypedArray : (uint32Array Js.t -> uint32Array Js.t) Js.constr
val uint32Array_fromBuffer : (arrayBuffer Js.t -> uint32Array Js.t) Js.constr
val uint32Array_inBuffer : (arrayBuffer Js.t -> int -> int -> uint32Array Js.t) Js.constr
val float32Array : (int -> float32Array Js.t) Js.constr
val float32Array_fromArray : (float Js.js_array Js.t -> float32Array Js.t) Js.constr
val float32Array_fromTypedArray : (float32Array Js.t -> float32Array Js.t) Js.constr
val float32Array_fromBuffer : (arrayBuffer Js.t -> float32Array Js.t) Js.constr
val float32Array_inBuffer : (arrayBuffer Js.t -> int -> int -> float32Array Js.t) Js.constr
val float64Array : (int -> float64Array Js.t) Js.constr
val float64Array_fromArray : (float Js.js_array Js.t -> float64Array Js.t) Js.constr
val float64Array_fromTypedArray : (float64Array Js.t -> float64Array Js.t) Js.constr
val float64Array_fromBuffer : (arrayBuffer Js.t -> float64Array Js.t) Js.constr
val float64Array_inBuffer : (arrayBuffer Js.t -> int -> int -> float64Array Js.t) Js.constr
val set : ('a, 'b) typedArray Js.t -> int -> 'a -> unit
val get : ('a, 'b) typedArray Js.t -> int -> 'a Js.optdef
val unsafe_get : ('a, 'b) typedArray Js.t -> int -> 'a
class type dataView = object ... end
val dataView : (arrayBuffer Js.t -> dataView Js.t) Js.constr
val dataView_inBuffer : (arrayBuffer Js.t -> int -> int -> dataView Js.t) Js.constr
module Bigstring : sig ... end
module String : sig ... end
OCaml

Innovation. Community. Security.