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

Buffers.trySkip(Buffer[], int, int, long) returns inconsistent results

XMLWordPrintable

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

      One of the return statements is wrong. It should be:
      return c + cnt;
      instead of:
      return c - cnt;

      Show
      One of the return statements is wrong. It should be: return c + cnt; instead of: return c - cnt;

      The trySkip operation is always performed correctly, but in a few scenarios the return result is off.

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

              Created:
              Updated:
              Resolved: