Lazily initialize byte[] in java.io.BufferedInputStream

XMLWordPrintable

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

      By default BufferedInputStream is constructed with internal buffer with capacity 8192. In some cases this buffer is never used, e.g. when we call readNBytes() or readAllBytes() or when BufferedInputStream is cascaded.

            Assignee:
            Sergey Tsypanov
            Reporter:
            Sergey Tsypanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: