Uint8ClampedArray
Constructors
<init>
Uint8ClampedArray(length: Int)
Uint8ClampedArray(array: Uint8ClampedArray)
Uint8ClampedArray(array: Array<Byte>)
Uint8ClampedArray(
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: Uint8ClampedArray,
offset: Int = definedExternally)
fun set(array: Array<Byte>, offset: Int = definedExternally)
subarray
fun subarray(start: Int, end: Int): Uint8ClampedArray
Companion Object Properties
BYTES_PER_ELEMENT
val BYTES_PER_ELEMENT: Int
Extension Functions
get
operator fun Uint8ClampedArray.get(index: Int): Byte
set
operator fun Uint8ClampedArray.set(index: Int, value: Byte)