Hello
I'm reading from a Socket's InputStream. Because I'm parsing the incoming data on the fly, I'm required to read character by character.
Does BufferedReader.read()
the same thing as InputStream.read()
does ? (assuming that BufferedReader has been constructed with the InputStream as base)
Is it more efficient to use InputStream.read() when reading each character separately? Or is there any better way?