public static boolean isMatch(BinaryReader reader, int ptr) throws IOException {
		//read value out as big endian
		int value = reader.readByte(ptr  ) << 24 |
					reader.readByte(ptr+1) << 16 |
					reader.readByte(ptr+2) << 8 |
					reader.readByte(ptr+3);
		return (MAGIC_NB_09 == value) || (MAGIC_NB_11 == value) || 
			   (MAGIC_N1_12 == value) || (MAGIC_N1_13 == value);
	}
A class to represent the Object Module Format (OMF)
code view symbol table.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/pe/debug/DebugCodeViewSymbolTable.java