Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1314

Switch order of pointer/length parameters to gridfs::uploader::write and gridfs::downloader::read

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • None
    • API
    • None

    Description

      To more closely mirror the I/O functions in the standard library, we should change the order of the parameters to mongocxx::gridfs::uploader::write and mongocxx::gridfs::downloader::read so that the pointer to the buffer is first and the size is second.

      Attachments

        Activity

          People

            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: