Kactoos

kactoos-jvm / nnl.rocks.kactoos.io / OutputStreamTo

OutputStreamTo

class OutputStreamTo : OutputStream

An OutputStream that encapsulates other destination for the data.

There is no thread-safety guarantee.

Since 0.3

Constructors

Name Summary
<init> OutputStreamTo(path: Path)
OutputStreamTo(file: File)
OutputStreamTo(wtr: Writer, charset: Charset)
OutputStreamTo(wtr: Writer)
OutputStreamTo(wtr: Writer, charset: CharSequence)
OutputStreamTo(wtr: Writer, charset: Charset, size: Int)
OutputStreamTo(wtr: Writer, charset: CharSequence, size: Int)
OutputStreamTo(wtr: Writer, ddr: CharsetDecoder, size: Int)
OutputStreamTo(output: Output)OutputStreamTo(target: KScalar<OutputStream>)
An OutputStream that encapsulates other destination for the data.

Functions

Name Summary
close fun close(): Unit
flush fun flush(): Unit
write fun write(data: Int): Unit
fun write(buffer: ByteArray): Unit
fun write(buffer: ByteArray, offset: Int, length: Int): Unit