@Override
	public void write(int b) throws IOException {
		out.write(b);
		++smallCount;
		if (smallCount >= PROGRESS_INCREMENT) {
			if (monitor.isCancelled()) {
				throw new IOCancelledException();
			}
			count += smallCount;
			smallCount = 0;
			monitor.setProgress(count);
		}
	}
Writes the specified <code>byte</code> to this output stream. 
<p>
The <code>write</code> method of <code>FilterOutputStream</code> 
calls the <code>write</code> method of its underlying output stream, 
that is, it performs <code>out.write(b)</code>.
<p>
Implements the abstract <code>write</code> method of <code>OutputStream</code>. 

@param      b   the <code>byte</code>.
@exception  IOException  if an I/O error occurs.
Ghidra/Framework/Utility/src/main/java/ghidra/util/MonitoredOutputStream.java