private String readNextString(int charCount, Charset charset, int charLen) throws IOException {
		if (charCount < 0) {
			throw new IllegalArgumentException(String.format("Invalid charCount: %d", charCount));
		}
		byte[] bytes = readByteArray(currentIndex, charCount * charLen);
		currentIndex += bytes.length;

		int strLen = getLengthWithoutTrailingNullTerms(bytes, charLen);
		String result = new String(bytes, 0, strLen, charset);
		return result;
	}
Reads a fixed length string of <code>charCount</code> characters
starting at the current index, using a specific {@link Charset},
advancing the current index by the length of the string that was found.
<p>
Trailing null terminator characters will be removed.  (suitable for reading
a string from a fixed length field that is padded with trailing null chars)

@param charCount the number of charLen character elements to read
@param charset {@link Charset}, see {@link StandardCharsets}
@param charLen number of bytes in each character
@return the string
@exception IOException if an I/O error occurs
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/BinaryReader.java