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

DataView and BufReader should either default to LittleEndian or require explicit endianness

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Internal Code
    • Service Arch 2022-05-02

    Description

      It is way too easy to forget the annotations, and they are incompatible with some forms of the methods. Since LittleEndian is almost always what we want and NativeEndian is almost never, it seems like LittleEndian is the better implict default. Either way, I think we should never implicitly default to Native and require making it explicit.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-servicearch Backlog - Service Architecture
              mathias@mongodb.com Mathias Stearn
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: