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