kactoos-jvm / nnl.rocks.kactoos.io / TailInput
class TailInput :
Input
Input showing only last N bytes of the stream.
There is no thread-safety guarantee.
input
- Input to decorate
count
- Number of last bytes to show from input
max
- Maximum number of bytes to read at once
Since 0.4
Name | Summary |
---|---|
<init> | TailInput(input: Input , count: Int , max: Int = 16384) Input showing only last N bytes of the stream. |
Name | Summary |
---|---|
stream | fun stream(): InputStream Get read access to it. |