@Override
		public int available() {
			fetchBytesFromQueue(false);
			return bytes.length - position;
		}
An {@link InputStream} that has as its source text strings being pushed into
it by a thread, and being read by another thread.
<p>
Not thread-safe for multiple readers, but is thread-safe for writers.
<p>
{@link #close() Closing} this stream (from any thread) will awaken the
blocked reader thread and give an EOF result to the read operation it was blocking on.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/interpreter/InterpreterPanel.java