[CXX-1314] Switch order of pointer/length parameters to gridfs::uploader::write and gridfs::downloader::read Created: 13/Apr/17  Updated: 14/Apr/17  Resolved: 14/Apr/17

Status: Closed
Project: C++ Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Samuel Rossi (Inactive) Assignee: Samuel Rossi (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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.



 Comments   
Comment by Githook User [ 14/Apr/17 ]

Author:

{u'username': u'saghm', u'name': u'Saghm Rossi', u'email': u'saghmrossi@gmail.com'}

Message: CXX-1314 Switch order of pointer/length parameters to gridfs::uploader::write and gridfs::downloader::read
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/6a0218ecdcdfae68369d29029417b937852a7d0b

Generated at Wed Feb 07 22:02:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.