Class RereadableInputStream

java.lang.Object
java.io.InputStream
VASSAL.tools.io.RereadableInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class RereadableInputStream extends InputStream
An rereadable InputStream. The reset() method may be uesd to rewind this input stream to a previously mark(int)ed location.
Since:
3.1.0
Author:
Joel Uckelman
  • Constructor Details

    • RereadableInputStream

      public RereadableInputStream(InputStream src)
      Creates a RereadableInputStream which uses the given InputStream as its source.
      Parameters:
      src - source input stream
  • Method Details