@Override
	public synchronized void reset() throws IOException {
		// synchronized because the base class's method is synchronized.
		this.currentPosition = markPosition;
	}
Creates an InputStream that uses a ByteProvider as its source of bytes.
 
@param provider the {@link ByteProvider} to wrap
@param startPosition starting position in the provider
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/ByteProviderInputStream.java