-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy patharrayCopy.kt
64 lines (45 loc) · 2.71 KB
/
arrayCopy.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* Copyright 2010-2025 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
// NOTE: THIS FILE IS AUTO-GENERATED, DO NOT EDIT!
// See generator/src/main/kotlin/helpers/generate.kt for details
package org.khronos.webgl
/** Returns a new [ByteArray] containing all the elements of this [Int8Array]. */
public expect fun Int8Array.toByteArray(): ByteArray
/** Returns a new [Int8Array] containing all the elements of this [ByteArray]. */
public expect fun ByteArray.toInt8Array(): Int8Array
/** Returns a new [UByteArray] containing all the elements of this [Uint8Array]. */
@ExperimentalUnsignedTypes
public expect fun Uint8Array.toUByteArray(): UByteArray
/** Returns a new [Uint8Array] containing all the elements of this [UByteArray]. */
@ExperimentalUnsignedTypes
public expect fun UByteArray.toUint8Array(): Uint8Array
/** Returns a new [ShortArray] containing all the elements of this [Int16Array]. */
public expect fun Int16Array.toShortArray(): ShortArray
/** Returns a new [Int16Array] containing all the elements of this [ShortArray]. */
public expect fun ShortArray.toInt16Array(): Int16Array
/** Returns a new [UShortArray] containing all the elements of this [Uint16Array]. */
@ExperimentalUnsignedTypes
public expect fun Uint16Array.toUShortArray(): UShortArray
/** Returns a new [Uint16Array] containing all the elements of this [UShortArray]. */
@ExperimentalUnsignedTypes
public expect fun UShortArray.toUint16Array(): Uint16Array
/** Returns a new [IntArray] containing all the elements of this [Int32Array]. */
public expect fun Int32Array.toIntArray(): IntArray
/** Returns a new [Int32Array] containing all the elements of this [IntArray]. */
public expect fun IntArray.toInt32Array(): Int32Array
/** Returns a new [UIntArray] containing all the elements of this [Uint32Array]. */
@ExperimentalUnsignedTypes
public expect fun Uint32Array.toUIntArray(): UIntArray
/** Returns a new [Uint32Array] containing all the elements of this [UIntArray]. */
@ExperimentalUnsignedTypes
public expect fun UIntArray.toUint32Array(): Uint32Array
/** Returns a new [FloatArray] containing all the elements of this [Float32Array]. */
public expect fun Float32Array.toFloatArray(): FloatArray
/** Returns a new [Float32Array] containing all the elements of this [FloatArray]. */
public expect fun FloatArray.toFloat32Array(): Float32Array
/** Returns a new [DoubleArray] containing all the elements of this [Float64Array]. */
public expect fun Float64Array.toDoubleArray(): DoubleArray
/** Returns a new [Float64Array] containing all the elements of this [DoubleArray]. */
public expect fun DoubleArray.toFloat64Array(): Float64Array