UByteArrayInt

inline class UByteArrayInt(val data: ByteArray)

View of bytes reinterpreted as Int

Constructors

Link copied to clipboard
constructor(size: Int)

Creates a new UByteArrayInt view of size bytes

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

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: UByte)