Companion

actual object Companion(source)
expect object Companion(source)
actual object Companion(source)

Functions

Link copied to clipboard

Allocates a new buffer with capacity of (8 * 1024) bytes

Allocates a new buffer with capacity of (8 * 1024) bytes

Allocates a new buffer with capacity of (8 * 1024) bytes

Link copied to clipboard
actual fun lineOutputFeed(dispatch: (line: String?) -> Unit): ReadBuffer.LineOutputFeed

Creates a new LineOutputFeed

expect fun lineOutputFeed(dispatch: (line: String?) -> Unit): ReadBuffer.LineOutputFeed

Creates a new LineOutputFeed

actual fun lineOutputFeed(dispatch: (line: String?) -> Unit): ReadBuffer.LineOutputFeed

Creates a new LineOutputFeed

Link copied to clipboard
fun of(buf: ByteArray): ReadBuffer

Wraps a ByteArray to use as ReadBuffer.