viaduct
0.3.0
runtime
/
io.github.aplcornell.viaduct.runtime
/
ScannerIOStrategy
Scanner
IOStrategy
class
ScannerIOStrategy
(
input
:
Scanner
,
output
:
Writer
=
System.out.writer(Charset.defaultCharset())
)
:
IOStrategy
Constructors
Functions
Constructors
Scanner
IOStrategy
Link copied to clipboard
fun
ScannerIOStrategy
(
input
:
Scanner
,
output
:
Writer
=
System.out.writer(Charset.defaultCharset())
)
Functions
input
Link copied to clipboard
open
override
fun
input
(
type
:
IOValueType
)
:
Value
Inputs a value of type
type
from the host.
output
Link copied to clipboard
open
override
fun
output
(
value
:
IOValue
)
Outputs
value
to the host.