asMemory
fun ByteBuffer.asMemory(startOffset: Int = 0, size: Int = limit()): Memory
Content copied to clipboard
Wraps this ByteBuffer to Memory object.
Return
the Memory object.
Parameters
<receiver>
the byte buffer.
startOffset
the start offset.
size
the size of memory to map.
Sources
jvm source
Link copied to clipboard