@Override
	public String getValueString(byte[] bytes, SearchSettings settings) {
		boolean isBigEndian = settings.isBigEndian();
		Charset charset = settings.getStringCharset();
		if (charset == StandardCharsets.UTF_16) {
			charset = isBigEndian ? StandardCharsets.UTF_16BE : StandardCharsets.UTF_16LE;
		}
		return new String(bytes, charset);
	}
{@link SearchFormat} for parsing and display bytes in a string format. This format uses
several values from SearchSettings included character encoding, case sensitive, and escape
sequences.
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/format/StringSearchFormat.java