package js_of_ocaml

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

Typed Array binding

type uint32 = float
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, Stdlib.Bigarray.int8_signed_elt) typedArray
type uint8Array = (int, Stdlib.Bigarray.int8_unsigned_elt) typedArray
type int16Array = (int, Stdlib.Bigarray.int16_signed_elt) typedArray
type uint16Array = (int, Stdlib.Bigarray.int16_unsigned_elt) typedArray
type int32Array = (int32, Stdlib.Bigarray.int32_elt) typedArray
type uint32Array = (int32, Stdlib.Bigarray.int32_elt) typedArray
type float32Array = (float, Stdlib.Bigarray.float32_elt) typedArray
type float64Array = (float, Stdlib.Bigarray.float64_elt) typedArray
val kind : ('a, 'b) typedArray Js.t -> ('a, 'b) Stdlib.Bigarray.kind
val from_genarray : ('a, 'b, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Genarray.t -> ('a, 'b) typedArray Js.t
val to_genarray : ('a, 'b) typedArray Js.t -> ('a, 'b, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Genarray.t
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 : (uint32 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
module Bytes : sig ... end
OCaml

Innovation. Community. Security.