WritableWrappedChannel

class WritableWrappedChannel(backingStream: OutputStream) : AbstractInterruptibleChannel, WritableByteChannel

Utility function to wrap an output stream into a writable channel

Constructors

Link copied to clipboard
fun WritableWrappedChannel(backingStream: OutputStream)

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 write(src: ByteBuffer): Int

Write a given byte buffer to the channel and return the amount of written bytes