UShortArray

Constructors

Link copied to clipboard
constructor(size: Int)
constructor(size: Int, init: (Int) -> UShort)

Properties

Link copied to clipboard
external val size: Int

Functions

Link copied to clipboard
external fun UShortArray.copyInto(destination: UShortArray, destinationOffset: Int = 0, startIndex: Int = 0, endIndex: Int = size): UShortArray

Copies this range into destination, supporting overlapping ranges, and returns it.

Link copied to clipboard

Returns a new array containing the same elements.

external fun UShortArray.copyOf(newSize: Int): UShortArray

Returns a resized copy, padding extra elements with zero.

Link copied to clipboard
operator external fun get(index: Int): UShort
Link copied to clipboard
operator external fun iterator(): Iterator<UShort>
Link copied to clipboard
operator external fun set(index: Int, value: UShort)