Skip to content

Module Js.Typed_array

Bindings to the functions in TypedArray.prototype

JavaScript Typed Array API

see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray MDN

ocaml
module ArrayBuffer : sig ... end
reasonml
module ArrayBuffer: { ... };

The underlying buffer that the typed arrays provide views of

ocaml
module Int8Array : sig ... end
reasonml
module Int8Array: { ... };
ocaml
module Uint8Array : sig ... end
reasonml
module Uint8Array: { ... };
ocaml
module Uint8ClampedArray : sig ... end
reasonml
module Uint8ClampedArray: { ... };
ocaml
module Int16Array : sig ... end
reasonml
module Int16Array: { ... };
ocaml
module Uint16Array : sig ... end
reasonml
module Uint16Array: { ... };
ocaml
module Int32Array : sig ... end
reasonml
module Int32Array: { ... };
ocaml
module Uint32Array : sig ... end
reasonml
module Uint32Array: { ... };
ocaml
module Float32Array : sig ... end
reasonml
module Float32Array: { ... };
ocaml
module Float64Array : sig ... end
reasonml
module Float64Array: { ... };
ocaml
module DataView : sig ... end
reasonml
module DataView: { ... };

The DataView view provides a low-level interface for reading and writing multiple number types in an ArrayBuffer irrespective of the platform's endianness.