open_in ?buffered str returns a new java.io.InputStream
instance reading data from the file whose path is str. The
buffered parameter (defaulting to true) indicates whether the
stream is buffered.Java_exception if an error occursopen_out ?buffered str returns a new java.io.OutputStream
instance writing data to the file whose path is str. The buffered
parameter (defaulting to true) indicates whether the
stream is buffered.Java_exception if an error occursJava_exception if an error occursJava_exception if an error occursin_channel_of_input_stream is converts the input stream is into a
new input channel. The returned channel is added to the list of
opened channels.out_channel_of_output_stream os converts the output stream os
into a new output channel. The returned channel is added to the list
of opened channels.input_stream_of_in_channel ic converts the input channel ic into
a new input stream.output_stream_of_out_channel oc converts the output channel oc
into a new output stream.