aliyun / aliyun-oss-cpp-sdk

Aliyun OSS SDK for C++
Other
184 stars 88 forks source link

Please provide a zero-copy data uploading method #103

Open royguo opened 3 years ago

royguo commented 3 years ago

Currently, almost all data upload interfaces use std::shared_ptr<std::iostream> as the content receiver, but we cannot construct such an object without data copying easily (someone would turn to use boost library).

If you can provide a method that receives data & length, would be very helpful!