Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-128

Buffers.readLine ignores last char in buffer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.1.0.Beta2
    • None
    • api
    • None

      At the main loop of Buffers.readLine method, if coderResult.isUnderflow(), the method returns without checking if a last character is has been read. As a result, the last character could be ignored in this scenario.
      This will only happen if the last char in the buffer is not delimiter.

            flaviarnn Flavia Rainone
            flaviarnn Flavia Rainone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: