public static char readChar(DataInputStream dis) throws IOException {
  return (char)dis.readByte();
}

public static char readChar ( DataInputStream dis ) throws IOException { return ( char ) dis . readByte ( ) ; }
reads a single char from the stream
