添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
open class Uint8ClampedArray : ArrayBufferView
(source)

Exposes the JavaScript Uint8ClampedArray to Kotlin

Constructors

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

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

operator fun Uint8ClampedArray . get ( index : Int ) : Byte
operator fun Uint8ClampedArray . set ( index : Int , value : Byte )