UShortArrayInt

inline class UShortArrayInt(val data: ShortArray)

View of shorts reinterpreted as Int

Constructors

Link copied to clipboard
constructor(size: Int)

Creates a new UShortArrayInt view of size bytes

constructor(size: Int, gen: (Int) -> Int)
constructor(data: ShortArray)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: Int

Functions

Link copied to clipboard

Gets the underlying array of this

Link copied to clipboard
fun fill(value: Int, fromIndex: Int = 0, toIndex: Int = size)
Link copied to clipboard
operator fun get(index: Int): Int
Link copied to clipboard
operator fun set(index: Int, value: Int)
operator fun set(index: Int, value: UShort)