An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specified charset.
A data input stream lets an application read primitive
Java data types from an underlying input stream in a machine-independent way. An application uses a data output stream to write data that can later be read by a data input stream.
you can read following links
[
DataInputStream]
[
BufferedReader].
Related to your question i think this forum
Discussion already done.
[ July 23, 2008: Message edited by: Mandar Khire ]