String (byte[] array) { StringJoiner joiner = new StringJoiner(ARRAY_ELEMENT_SEPARATOR, ARRAY_START, ARRAY_END); for (int i = 0; i < array.length; i++) { String s = String.valueOf(array[i]); joiner.add(s); } return joiner.toString(); }