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

Ensure BufReader reads numeric values in little-endian order

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.3
    • None
    • Portability
    • None
    • Fully Compatible
    • ALL
    • Platforms 10 (02/19/16), Platforms 11 (03/11/16)

    Description

      BufReader has templated read and peak methods which can be used to return numeric values from a buffer (e.g. a BSON object). For portability, these methods should read numeric values in little-endian order and transparently return native-endian results.

      Writing structs to buffers and reading structs from buffers will need additional consideration (or perhaps should be avoided).

      Attachments

        Activity

          People

            mira.carey@mongodb.com Mira Carey
            bryanpkc Bryan Chan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: