Kactoos

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

TeeInputStream

class TeeInputStream : InputStream

Stream that copies input to output.

There is no thread-safety guarantee.

Since 0.1

Constructors

Name Summary
<init> TeeInputStream(input: InputStream, output: OutputStream)
Stream that copies input to output.

Functions

Name Summary
available fun available(): Int
close fun close(): Unit
mark fun mark(limit: Int): Unit
markSupported fun markSupported(): Boolean
read fun read(): Int
fun read(buf: ByteArray): Int
fun read(buf: ByteArray, offset: Int, len: Int): Int
reset fun reset(): Unit
skip fun skip(num: Long): Long