kactoos-jvm / nnl.rocks.kactoos.io / OutputStreamTo
class OutputStreamTo : OutputStream
An OutputStream that encapsulates other destination for the data.
There is no thread-safety guarantee.
Since 0.3
| 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. |
| Name | Summary |
|---|---|
| close | fun close(): Unit |
| flush | fun flush(): Unit |
| write | fun write(data: Int): Unitfun write(buffer: ByteArray): Unitfun write(buffer: ByteArray, offset: Int, length: Int): Unit |