Class PeekingInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class PeekingInputStream
    extends InputStream
    Caching InputStream to be used when reading the beginning of a stream is needed before the stream is "reset" when the exact amount of data is unknown and support for marking of is irrelevant.
    Since:
    4.0.0
    Author:
    erlend