Class RecordedInputStream

java.lang.Object
java.io.InputStream
org.loboevolution.common.RecordedInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class RecordedInputStream extends InputStream
Wraps an InputStream and records all of the bytes read. This stream supports mark() and reset().

Note: Buffered streams should wrap this class as opposed to the other way around. Author J. H. S.