// This file is auto-generated. Do not edit manually.
// Generated by scripts/generate_inheritance.ts

///|
/// Upcast from TypedArray to Int32Array
pub fn Int32Array::cast_from_typed_array(value : TypedArray) -> Int32Array = "%identity"

///|
/// Inherited from TypedArray
pub fn Int32Array::length(self : Self) -> Int {
  self.as_typed_array().length()
}

///|
/// Inherited from TypedArray
pub fn Int32Array::byteLength(self : Self) -> Int {
  self.as_typed_array().byteLength()
}

///|
/// Inherited from TypedArray
pub fn Int32Array::byteOffset(self : Self) -> Int {
  self.as_typed_array().byteOffset()
}

///|
/// Inherited from TypedArray
pub fn Int32Array::indexOf(
  self : Self,
  search_element : Int,
  from_index? : Int = 0,
) -> Int {
  self.as_typed_array().indexOf(search_element, from_index~)
}

///|
/// Inherited from TypedArray
pub fn Int32Array::lastIndexOf(
  self : Self,
  search_element : Int,
  from_index? : Int = 0,
) -> Int {
  self.as_typed_array().lastIndexOf(search_element, from_index~)
}

///|
/// Inherited from TypedArray
pub fn Int32Array::reverse(self : Self) -> TypedArray {
  self.as_typed_array().reverse()
}

///|
/// Inherited from TypedArray
pub fn Int32Array::sort(self : Self) -> TypedArray {
  self.as_typed_array().sort()
}

///|
/// Inherited from TypedArray
pub fn Int32Array::join(self : Self, separator? : String = ", ") -> String {
  self.as_typed_array().join(separator~)
}

///|
/// Inherited from TypedArray
pub fn Int32Array::toString(self : Self) -> String {
  self.as_typed_array().toString()
}

///|
/// Inherited from TypedArray
pub fn Int32Array::set_at(self : Self, index : Int, value : Int) -> Unit {
  self.as_typed_array().set_at(index, value)
}

///|
/// Inherited from TypedArray
pub fn Int32Array::get_at(self : Self, index : Int) -> Int {
  self.as_typed_array().get_at(index)
}

///|
/// Inherited from TypedArray
pub fn Int32Array::set(
  self : Self,
  array : Array[Int],
  offset? : Int = 0,
) -> Unit {
  self.as_typed_array().set(array, offset~)
}

///|
/// Inherited from TypedArray
pub fn Int32Array::includes(
  self : Self,
  search_element : Int,
  from_index? : Int = 0,
) -> Bool {
  self.as_typed_array().includes(search_element, from_index~)
}