public static PdbInfo read(BinaryReader reader, long offset) throws IOException {
		if (PdbInfoCodeView.isMatch(reader, offset)) {
			return PdbInfoCodeView.read(reader, offset);
		}
		if (PdbInfoDotNet.isMatch(reader, offset)) {
			return PdbInfoDotNet.read(reader, offset);
		}
		return null;
	}
Read either a {@link PdbInfoCodeView} object or a {@link PdbInfoDotNet} object
from the BinaryReader of a PE binary.

@param reader BinaryReader
@param offset position of the debug info
@return new PdbInfoCodeView or PdbInfoDotNet object
@throws IOException if error
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/pdb/PdbInfo.java