code: public static String encodeToString(byte[] src) {
  		assertSupported();
  		if (src == null) {
  			return null;
  		}
  		if (src.length == 0) {
  			return "";
  		}
  		return new String(delegate.encode(src), DEFAULT_CHARSET);
  	}
docs: Base64-encode the given byte array to a String.
  @param src the original byte array (may be {@code null})
  @return the encoded byte array as a UTF-8 String
  (or {@code null} if the input was {@code null})
  @throws IllegalStateException if Base64 encoding is not supported,
  i.e. neither Java 8 nor Apache Commons Codec is present at runtime