Kactoos

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

TeeOutputStream

class TeeOutputStream : OutputStream

Stream that copies output to output.

There is no thread-safety guarantee.

Since 0.16

Constructors

Name Summary
<init> TeeOutputStream(target: OutputStream, copy: OutputStream)
Stream that copies output to output.

Functions

Name Summary
close fun close(): Unit
flush fun flush(): Unit
write fun write(data: Int): Unit
fun write(buf: ByteArray): Unit
fun write(buf: ByteArray, off: Int, len: Int): Unit