sok / Sok.Buffer / wrapMultiplatformBuffer
expect fun wrapMultiplatformBuffer(array: ByteArray): MultiplatformBuffer (source)
Wrap the array with a MultiplatformBuffer. The data will not be copied and the array will be linked to the MultiplatformBuffer class
array - array to wrap
Return buffer
fun wrapMultiplatformBuffer(array: ByteBuffer): <ERROR CLASS> (source)
Platform and version requirements: JVM
Make a MultiplatformBuffer that use a given ByteBuffer.
array - array to wrap
Return buffer