sig
  type t = Js_typed_array.array_buffer
  external make : int -> Js_typed_array.ArrayBuffer.t = "ArrayBuffer"
    "BS-EXTERNAL"
  external byteLength : Js_typed_array.ArrayBuffer.t -> int = ""
    "BS-EXTERNAL"
  external slice :
    start:int ->
    end_:int -> Js_typed_array.ArrayBuffer.t -> Js_typed_array.array_buffer
    = "" "BS-EXTERNAL"
  external sliceFrom :
    int -> Js_typed_array.ArrayBuffer.t -> Js_typed_array.array_buffer
    = "slice" "BS-EXTERNAL"
end