ReadableWrappedChannel

class ReadableWrappedChannel(backingStream: InputStream) : AbstractInterruptibleChannel, ReadableByteChannel

Utility function to wrap an input stream into a readable channel

Constructors

Link copied to clipboard
fun ReadableWrappedChannel(backingStream: InputStream)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun begin()
Link copied to clipboard
override fun close()
Link copied to clipboard
fun end(p0: Boolean)
Link copied to clipboard
override fun isOpen(): Boolean
Link copied to clipboard
open override fun read(dst: ByteBuffer): Int

Reads from the channel into a given byte buffer and returns the amount of written bytes