common/src/main/java/com/genexus/internet/BASE64Encoder.java
/**
   * BASE64 encode the InputStream and write the encoded form to the
   * OutputStream.
   * @throws IOException        if an I/O error has occurred.
   */
BASE64 encode the InputStream and write the encoded form to the
OutputStream.
@throws IOException        if an I/O error has occurred.
BASE64 encode the InputStream and write the encoded form to the OutputStream . @throws IOException if an I / O error has occurred .
public final void encodeBuffer(InputStream in,
                               OutputStream out) throws IOException {
  DataOutputStream dataout = new DataOutputStream(out);	  
  encodeBuffer(in, dataout);
 }
public final void encodeBuffer ( InputStream in , OutputStream out ) throws IOException { DataOutputStream dataout = new DataOutputStream ( out ) ; encodeBuffer ( in , dataout ) ; }
BASE64 encode the InputStream and write the encoded form to the
 OutputStream.
BASE64 encode the InputStream and write the encoded form to the OutputStream .