@Override
	public void setBinaryData(byte[] bytes) {
		checkImmutable();
		this.bytes = bytes;
		if (bytes == null) {
			str = null;
		}
		else {
			try {
				str = new String(bytes, ENCODING);
			}
			catch (UnsupportedEncodingException e) {
				throw new AssertException(e);
			}
		}
	}
Construct a String field with an initial value of s.
@param str initial string value or null
@param immutable true if field value is immutable
Ghidra/Framework/DB/src/main/java/db/StringField.java