TerminalHostResponseReader

Narrow reader for terminal-to-host response bytes.

Sessions drain this interface after parser/core mutations and forward the bytes to the active connector. Implementations must synchronously copy bytes into dst before returning.

Inheritors

Functions

Link copied to clipboard
abstract fun readResponseBytes(dst: ByteArray, offset: Int = 0, length: Int = dst.size - offset): Int

Reads up to length queued response bytes into dst.