Interesting. I can’t replicate with code that creates a new blob in the agent, or code which sends a blob from the device to the agent. Is this blob one that has been received from the device?
This is the method that receives blob data from the device.
function receiveData(blinkupData) { blinkupData.buffer.resize(blinkupData.length); data.writeblob(blinkupData.buffer); server.log("Received buffer of length " + blinkupData.buffer.len()); }
Essentially I am iterating over the blob data at a later point in the agent (on http request). If I start iterating from 0, everything works fine. If I start the iteration at a much later point … the bad blob get happens.