write

fun WritableByteChannel.write(buffer: IoBuffer): Int

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


fun WritableByteChannel.write(buffer: Buffer): Int

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


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