pod.epiccastle.bbssh.output-stream
Creates and calls the various methods of a PipedOutputStream that exists on the pod heap.
close
(close stream)Close the stream
connect
(connect stream sink)Connect a bbssh PipedInputStream to this to act as a sink
flush
(flush stream)Flush the stream
make-proxy
(make-proxy stream)Make a babashka java.io.PipedOutputStream that calls the pod heap output-stream stream.
new
(new)(new sink)Create a new PipedOutputStream. Optional first argument can be a bbssh PipedInputStream to connect as the sink.
new-pod-proxy
(new-pod-proxy callbacks)write
(write stream bytes)(write stream byte-array offset length)(write stream bytes) Write a byte-array bytes to the stream.
(write stream byte-array offset length) Write length bytes from byte-array beginning at offset to stream.