Hi!
I am trying to mock a c function which takes a pointer to a data buffer and a length and then writes this to eeprom. I want to be able to check the data that was passed into this function through mock.
```
int Eeprom_WriteBuffer(uint32_t address, uint8_t *data, uint16_t data_len)
{
mock("eeprom").setData("Eeprom_WriteBuffer_data", data);
return mock("eeprom").actualCall("Eeprom_WriteBuffer")
.withParameter("address", address)
.withParameter("data", data)
.withParameter("data_len", data_len)
.withOutputParameter("data", data)
.returnIntValueOrDefault(-1);
}
```
and I want to be able to pull data[0 - data_len) out so that in my test I can evaluate if my man in the middle function wrote what I expected it to.
Any idea how I can do this? I can't find how to perform this in the manual