Skip to content

Module Typed_array.ArrayBuffer

The underlying buffer that the typed arrays provide views of

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

type t = Js.arrayBuffer;
let make: int => t;

takes length. initializes elements to 0

let byteLength: t => int;
let slice: ?start:int => ?end_:int => t => Js.arrayBuffer;