Library enhancement proposal for copying data from/to Reader/Writer InputStream/OutputStream
Alan.Bateman at oracle.com
Thu Nov 27 18:01:54 UTC 2014
On 27/11/2014 17:40, Patrick Reinhart wrote:
> In our codebase here we have variants of different buffer sizes, mostly there are some with smaller sizes than the default I took from the Files class. To have the copy function within the JDK instead using a separate library or have this code written over and over again is much more important to me.
I think a variant that has a size as an argument is worth considering,
we've all done that. That said, Pavel's suggestion seem to be a
intermediate buffer the hint as to the chunk size.
More information about the core-libs-dev