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