Duplicate :
|
|
Relates :
|
|
Relates :
|
JDK-8066867 provides a basic implementation that transfers bytes from the input stream to a given output stream. Input streams can override this method to provide a more efficient transferTo implementation, the most obvious being ByteArrayInputStream. There are possibly others.
|