When the curl called the write callback the data
was copied into a JerryScript array by index
(iotjs_jval_create_byte_array) which can be inefficient
for big data.
By switching to an IoT.JS interal buffer we can speed up
the callback operation.
IoT.js-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
When the curl called the write callback the data was copied into a JerryScript array by index (iotjs_jval_create_byte_array) which can be inefficient for big data.
By switching to an IoT.JS interal buffer we can speed up the callback operation.
IoT.js-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com