code: public static String encode(byte[] source) {
          byte[] encoded = encodeBytesToBytes( source, source.length);
  
          try {
              return new String(encoded, "US-ASCII");
          }
          catch (java.io.UnsupportedEncodingException uue) {
              return new String( encoded );
          }
      }
docs: Encodes a byte array into Base64 notation.
  Does not GZip-compress data.
  
  @param source The data to convert
  @return The data in Base64-encoded form
  @throws NullPointerException if source array is null
  @since 1.4