private static void decodeStream (BufferedReader in, OutputStream out) throws IOException {
   while (true) {
      String s = in.readLine();
      if (s == null) break;
      byte[] buf = Base64Coder.decodeLines(s);
      out.write (buf); }}