Use DataView and DataCursor to implement BSON library

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.7.7
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, BufBuilder, BSONObjBuilder, and friends use dereferenced reinterpret_cast'ed pointers to read and write raw values into memory. This is undefined behavior in many cases.

      Instead, we should use the new DataView and DataCursor methods to achieve portable implementations.

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: