kactoos-jvm / nnl.rocks.kactoos.io / HeadInput
class HeadInput :
Input
Input that only shows the first N bytes of the original input.
origin
- The original input.
length
- Limit of bytes that can be read from the beginning.
Since 0.4
Name | Summary |
---|---|
<init> | HeadInput(origin: Input , length: Long ) Input that only shows the first N bytes of the original input. |
Name | Summary |
---|---|
stream | fun stream(): InputStream Get read access to it. |