ByteReadChannel

Creates channel for reading from the specified byte array. Please note that it could use content directly or copy its bytes depending on the platform.


fun ByteReadChannel(text: String, charset: Charset = Charsets.UTF_8): ByteReadChannel


expect fun ByteReadChannel(content: ByteArray, offset: Int, length: Int): ByteReadChannel

Creates channel for reading from the specified byte array. Please note that it could use content directly or copy its bytes depending on the platform

Creates channel for reading from the specified ArrayBufferView


actual fun ByteReadChannel(content: ByteArray, offset: Int, length: Int): ByteReadChannel

Creates channel for reading from the specified byte array.

Creates a channel for reading from the specified byte buffer.


actual fun ByteReadChannel(content: ByteArray, offset: Int, length: Int): ByteReadChannel

Creates a channel for reading from the specified byte array.

actual fun ByteReadChannel(content: ByteArray, offset: Int, length: Int): ByteReadChannel

Creates channel for reading from the specified byte array.