Add more efficient transferTo implementations to various input streams

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      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.

            Assignee:
            Brian Burkhalter
            Reporter:
            Chris Hegarty
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: