private static boolean compareBytesToChars(byte[] bytearray, int bytestart,
				char[] chararray) {
			int i = 0;
			if (bytestart + chararray.length < bytearray.length) {
				for (; i < chararray.length; ++i) {
					if (chararray[i] != (char) bytearray[bytestart + i]) {
						break;
					}
				}
			}
			return (i == chararray.length);
		}
Return true if chararray appears in full, starting at offset bytestart in bytearray

@param bytearray the array of bytes containing the potential match
@param bytestart the potential start of the match
@param chararray the array of characters to match
@return true if there is a full match
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/PeLoader.java