public static String getValueAsString(byte[] data) {
		StringBuffer buf = new StringBuffer();
		int i = 0;
		for (; i < 24 && i < data.length; i++) {
			String b = Integer.toHexString(data[i] & 0xff);
			if (b.length() == 1) {
				buf.append('0');
			}
			buf.append(b);
			buf.append(' ');
		}
		if (i < data.length) {
			buf.append("...");
		}
		return buf.toString();
	}
Get format value string for byte array
@param data byte array
@return formatted value string
Ghidra/Framework/DB/src/main/java/db/BinaryField.java