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.
-Alan