News for hackers. Stuff that matters.
Re:Why I like Java by ygra on Tuesday March 25, 2014 @09:37AM (#7465714)
Isn't there a Steam.copyTo(Stream) method somewhere? Or was that .NET?
Re:Why I like Java by dlubarov on Tuesday March 25, 2014 @12:00PM (#7466612)
Yes, Apache Commons has IOUtils.copy and Guava has a similar ByteStreams.copy.