private static String readTerminatedString(BinaryReader reader, long index) throws IOException {
		StringBuilder buffer = new StringBuilder();
		long len = reader.length();
		while (index < len) {
			char c = (char) reader.readByte(index++);
			if (LONGNAME_STR_TERM_CHARS.indexOf(c) != -1) {
				break;
			}
			buffer.append(c);
		}
		return buffer.toString();
	}
Entries in the long file names string table are terminated either with
\0 (mslib) or \n (linux ar).
MINOR TODO: figure out which kind of archive file this is and use the exact
term char for parsing the string table.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/coff/archive/LongNamesMember.java