Uint8Array
Constructors
<init>
Uint8Array(length: Int)
Uint8Array(array: Uint8Array)
Uint8Array(array: Array<Byte>)
Uint8Array(
buffer: ArrayBuffer,
byteOffset: Int = definedExternally,
length: Int = definedExternally)
Properties
buffer
open val buffer: ArrayBuffer
byteLength
open val byteLength: Int
byteOffset
open val byteOffset: Int
length
open val length: Int
Functions
set
fun set(array: Uint8Array, offset: Int = definedExternally)
fun set(array: Array<Byte>, offset: Int = definedExternally)
subarray
fun subarray(start: Int, end: Int): Uint8Array
Companion Object Properties
BYTES_PER_ELEMENT
val BYTES_PER_ELEMENT: Int
Extension Functions
get
operator fun Uint8Array.get(index: Int): Byte
set
operator fun Uint8Array.set(index: Int, value: Byte)