[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: |