6.76. kink/javahost/JAVA_STREAM_INPUT

6.76.1. JAVA_STREAM_INPUT.new(Stream)

`new` returns an `input` value which wraps a Java InputStream object.

See kink/io/INPUT for `input` type.

Preconditions

`Stream` must be a `java` value.

The object reference of `Stream` must be an instance of java.io.InputStream.

Example