Kactoos

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

TailInput

class TailInput : Input

Input showing only last N bytes of the stream.

There is no thread-safety guarantee.

Parameters

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

Constructors

Name Summary
<init> TailInput(input: Input, count: Int, max: Int = 16384)
Input showing only last N bytes of the stream.

Functions

Name Summary
stream fun stream(): InputStream
Get read access to it.