Uint8ClampedArray

open external class Uint8ClampedArray : ArrayBufferView

Exposes the JavaScript Uint8ClampedArray to Kotlin

Constructors

Link copied to clipboard
fun Uint8ClampedArray(length: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Uint8ClampedArray(    buffer: ArrayBuffer,     byteOffset: Int = definedExternally,     length: Int = definedExternally)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun set(array: Array<Byte>, offset: Int = definedExternally)
fun set(array: Uint8ClampedArray, offset: Int = definedExternally)
Link copied to clipboard
fun subarray(start: Int, end: Int): Uint8ClampedArray

Properties

Link copied to clipboard
open override val buffer: ArrayBuffer
Link copied to clipboard
open override val byteLength: Int
Link copied to clipboard
open override val byteOffset: Int
Link copied to clipboard
open val length: Int

Extensions

Link copied to clipboard
inline operator fun Uint8ClampedArray.get(index: Int): Byte
Link copied to clipboard
inline operator fun Uint8ClampedArray.set(index: Int, value: Byte)