Performance when Reading single byte vs many at a time?

Viewed 5719

I'm trying to compare InputStream.read() vs InputStream.read(byte[] b) in terms of performance.

Is InputStream.read(byte[] b) faster in some way, given the read(b, off, len) method for class InputStream simply calls the method read() repeatedly?

2 Answers
Related