UShortArray
A fixed-size, mutable array of UShort values.
Indices start at zero and end at size - 1. Changing an element does not change the array length. Equality compares array identity, not element contents.
The size-only constructor fills every element with zero. The initializer constructor calls its callback once for each index, in ascending order.
Constructors
Properties
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.
Returns a resized copy, padding extra elements with zero.