3 ms·
The documentation [1] does not mention any buffering unfortunately. In a quick test on the console it showed line-buffering behavior, so it probably depends on
by Perseids 13y ago
The documentation [1] does not mention any buffering unfortunately. In a quick test on the console it showed line-buffering behavior, so it probably depends on the input file type?
[1] http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html#read%28byte[]%29 http://docs.oracle.com/javase/7/docs/api/java/io/InputStream...