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!
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!