in reply to Re^5: pack and unpack multiple arrays with one common repeat prefix
in thread pack and unpack multiple arrays with one common repeat prefix
The idea/goal was to seperate the decoding engine (code) from the data structure descriptions (templates) in order to
reduce code by avoiding (slightly different) duplicates for different structures
So, I see your approach as the next best method, when I fail to express the structures with templates in a table.
Using a table with handler functions is certainly the most flexible way allowing for very special decoding tasks.