public class BufferViewJvmKt
| Modifier and Type | Method and Description |
|---|---|
static int |
read(java.nio.channels.ReadableByteChannel $receiver,
kotlinx.io.core.IoBuffer buffer)
Read from a NIO channel into the specified buffer
Could return
0 if the channel is non-blocking or buffer has no free space |
static int |
write(java.nio.channels.WritableByteChannel $receiver,
kotlinx.io.core.IoBuffer buffer)
Write bytes to a NIO channel from the specified buffer
Could return
0 if the channel is non-blocking or buffer has no free space |
public static int read(java.nio.channels.ReadableByteChannel $receiver,
kotlinx.io.core.IoBuffer buffer)
Read from a NIO channel into the specified buffer
Could return 0 if the channel is non-blocking or buffer has no free space
public static int write(java.nio.channels.WritableByteChannel $receiver,
kotlinx.io.core.IoBuffer buffer)
Write bytes to a NIO channel from the specified buffer
Could return 0 if the channel is non-blocking or buffer has no free space