Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include JS_OBJECT
val of_js : Js_of_ocaml.Js.Unsafe.any -> t
val to_any_js : t -> Js_of_ocaml.Js.Unsafe.any
val to_string : t -> string
Equivalent to toString
on the object in JavaScript
val create : ?offset:Number.t -> ?length:Number.t -> ArrayBuffer.t -> t
val buffer : t -> ArrayBuffer.t
buffer a
returns the underlying buffer of the array. Equivalent to a.buffer
in JavaScript
byte_length a
returns the number of bytes of the typed array. Equivalent to a.byteLength
in JavaScript