write

fun WritableByteChannel.write(source: Memory, sourceOffset: Int = 0, maxLength: Int = source.size32 - sourceOffset): Int

Does the same as WritableByteChannel.write but from a Memory instance


Deprecated

Use write(Memory) instead.

Does the same as WritableByteChannel.write but from a Buffer instance