Class HeadInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class HeadInputStream
    extends InputStream
    Input stream that only shows the first N bytes of the original stream.

    There is no thread-safety guarantee.

    Since:
    0.31