Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17629

Implement BoundedDataCursor/DataRange primitive

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.3
    • Affects Version/s: None
    • Component/s: Internal Code, Security
    • Labels:
      None
    • Fully Compatible
    • Platform 2 04/24/15, Platform 3 05/15/15

      DataCursor is good for writing, but for reading binary messages, a lot of repetitive bounds checking is needed.

      The exact design space is pretty wide, but a primitive that knows a length in addition to an offset would simplify writing parsers.

      cc: andreas.nilsson@10gen.com

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: