Class RewindableInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable
    Direct Known Subclasses:
    PeekAheadInputStream

    public class RewindableInputStream
    extends DynamicPushbackInputStream
    RewindableInputStream is a specialization of the PushbackInputStream that maintains an internal buffer of read bytes that a user can rewind (unread) back into the stream without having to do their own buffer management. The rewind buffer grows dynamically