Closed
Description
Hi,
I open this request to have the ability to throw an event if a range of address has been updated.
Here is my first idea:
- An event will inform a starting address that has been updated
- This event will contain the new data
- If this content is longer and filled by zeroes, an optional
count
can be used.
Thanks
interface MemoryEvent extends Event {
event: 'memory';
body: {
/* Start address where memory has been updated */
address: string;
/**
* The bytes read from memory, encoded using base64.
*/
data: string;
/* Number of bytes updated
* If not specified, calculated using data length.
* If specified, fulfill with zeroes until count matches
*/
count?: number;
};
}