Package nl.vpro.util

Class InputStreamChunk

java.lang.Object
java.io.InputStream
nl.vpro.util.InputStreamChunk
All Implemented Interfaces:
Closeable, AutoCloseable, Counted

public class InputStreamChunk extends InputStream implements Counted
Wraps an InputStream to limit the number of bytes to produces.

Never closes the underlying stream.

Since:
3.4
Author:
Michiel Meeuwissen