private void createOffLenRecords(PdbByteReader reader) throws PdbException, CancelledException {
		int savedIndex = reader.getIndex();
		offLenRecords = new ArrayList<>();
		while (reader.hasMore()) {
			pdb.checkCancelled();
			int recordLength = reader.parseUnsignedShortVal();
			// reading offset after parsing length so we have correct offset to read from later
			int offset = reader.getIndex();
			reader.skip(recordLength);
			offLenRecords.add(new OffLen(offset, recordLength));
		}
		reader.setIndex(savedIndex); // restore reader to original state
	}
Dumps the Header.  This method is for debugging only
@param writer {@link Writer} to which to dump the header
@throws IOException on issue writing to the {@link Writer}
Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/TypeProgramInterface.java