19 #ifndef SRECORD_MEMORY_WALKER_FLETCHER16_H
20 #define SRECORD_MEMORY_WALKER_FLETCHER16_H
36 typedef std::shared_ptr<memory_walker_fletcher16>
pointer;
89 unsigned get(
void)
const;
93 void observe(
unsigned long address,
const void *data,
int data_size);
The fletcher16 class is used to represent the running value of a 16-bit Fletcher's Checksum of series...
The srecord::memory_walker_fletcher16 class is used to represent the parse state of a memory walker w...
static pointer create(int sum1, int sum2, int answer, endian_t end)
The create class method is used to create new dynamically allocated instances of this class.
virtual ~memory_walker_fletcher16()
The destructor.
void observe(unsigned long address, const void *data, int data_size)
The observe method is used by the memory walker to provide data.
std::shared_ptr< memory_walker_fletcher16 > pointer
unsigned get(void) const
The get method is used to get the Fletcher-16 checksum once all memory chunks have been processed by ...
The srecord::memory_walker class is used to represent an abstract handler for the action to perform w...
std::shared_ptr< memory_walker > pointer