docs: public static String toBase64(byte[] byteArray) {
  
          String result = null;
          if (byteArray != null) {
              result = Base64.encodeBase64String(byteArray);
          }
          return result;
      }