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

ReaderInputStream.read returns unexpected result 0

XMLWordPrintable

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

      The read operation at ReaderInputStream always returns 0.

      The cause of this is that the buffers are not flipped at the constructor. With that, the buffers are seen as full buffers by any read operation, that will return the 0's from the buffers instead of performing an actual read.

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

              Created:
              Updated:
              Resolved: