Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-308

Allow applications to provide buffer (or size) for copyLarge methods?

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      Description

      Unlike the skip buffer, the copyLarge buffers cannot be shared between threads.
      The methods allocate their own buffers as local variables (current size 4096)

      It might be worth allowing applications to provide their own buffers, and/or specifying the buffer size to be used.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sebb@apache.org Sebb
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: