ByteReadChannel

fun ByteReadChannel(content: ByteBuffer): ByteReadChannel

Creates channel for reading from the specified byte buffer.

fun ByteReadChannel(content: ByteArray): ByteReadChannel

Creates channel for reading from the specified byte array.