ScannerIOStrategy

class ScannerIOStrategy(input: Scanner, output: Writer = System.out.writer(Charset.defaultCharset())) : IOStrategy

Constructors

Link copied to clipboard
fun ScannerIOStrategy(input: Scanner, output: Writer = System.out.writer(Charset.defaultCharset()))

Functions

Link copied to clipboard
open override fun input(type: IOValueType): Value

Inputs a value of type type from the host.

Link copied to clipboard
open override fun output(value: IOValue)

Outputs value to the host.