TypedArray2.ArrayBuffer
Provide bindings to JS typed array ArrayBuffer.
t
REStype t = Js_typed_array2.array_buffer
make
let make: int => t
Takes length. initializes elements to 0.
byteLength
let byteLength: t => int
slice
let slice: (t, ~start: int, ~end_: int) => Js_typed_array2.array_buffer
sliceFrom
let sliceFrom: (t, int) => Js_typed_array2.array_buffer