wrap

expect fun Memory.Companion.wrap(array: ByteArray): Memory

Wraps a Memory around existing ByteArray. This operation is unsafe since the array is not copied and could be mutated independently of the resulting Memory.

actual fun Memory.Companion.wrap(array: ByteArray): Memory

Wraps a Memory around existing ByteArray. This operation is unsafe since the array is not copied and could be mutated independently of the resulting Memory.

actual fun Memory.Companion.wrap(array: ByteArray): Memory

Wraps a Memory around existing ByteArray. This operation is unsafe since the array is not copied and could be mutated independently of the resulting Memory.

actual fun Memory.Companion.wrap(array: ByteArray): Memory

Wraps a Memory around existing ByteArray. This operation is unsafe since the array is not copied and could be mutated independently of the resulting Memory.

Sources

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard