@Override
 public void writeChar(int val) throws IOException {
   dos.writeChar(val);
 }