onData

actual abstract fun onData(buf: ReadBuffer, len: Int)(source)

Consumes data from buf at index 0 until len. Data is parsed into individual lines, dispatching each line to provided lineOutputFeed dispatcher callback.

Throws

IllegalStateException

If closed.

IndexOutOfBoundsException

If len is inappropriate.

expect abstract fun onData(buf: ReadBuffer, len: Int)(source)

Consumes data from buf at index 0 until len. Data is parsed into individual lines, dispatching each line to provided lineOutputFeed dispatcher callback.

Throws

IllegalStateException

If closed.

IndexOutOfBoundsException

If len is inappropriate.

actual abstract fun onData(buf: ReadBuffer, len: Int)(source)

Consumes data from buf at index 0 until len. Data is parsed into individual lines, dispatching each line to provided lineOutputFeed dispatcher callback.

Throws

IllegalStateException

If closed.

IndexOutOfBoundsException

If len is inappropriate.