void fillPages(byte[] inputBuffer, List<Integer> pageList) {
			if (outputBuffer == null) {
				String msg = "Output buffer is null... terminating";
				Msg.error(null, msg);
				throw new AssertException(msg);
			}
			if (pageList.size() <= 0) {
				String msg = "Invalid page list size... terminating";
				Msg.error(null, msg);
				throw new AssertException(msg);
			}
			int outputIndex;
			int inputIndex = 0;
			for (int i = 0; i < pageList.size() - 1; i++) {
				outputIndex = pageSize * pageList.get(i);
				for (int j = 0; j < pageSize; j++) {
					outputBuffer[outputIndex++] = inputBuffer[inputIndex++];
				}
			}
			outputIndex = pageSize * pageList.get(pageList.size() - 1);
			int numRemaining = inputBuffer.length - inputIndex;
			int j;
			for (j = 0; j < numRemaining; j++) {
				outputBuffer[outputIndex++] = inputBuffer[inputIndex++];
			}
			for (j = numRemaining; j < pageSize; j++) {
				outputBuffer[outputIndex++] = 0x00;
			}
		}
Dumps a number bytes of information from a Stream in the AbstractStreamFile to String.
 for debug purposes
@param streamFile the AbstractStreamFile to be used
@param streamNumber the streamNumber of the file to dump
@param maxOut maximum number of bytes to dump
@return string containing the output
Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/MsfReaderUnitTest.java