Thank you very much for your great answer. I think it is a good way of learning to try it first time by myself and then looking at a better solution.
Very good idea from you to use 'a*' to read the rest of the memory and shorten it by this way instead of using substr. Also interesting that you were just interpreting the offset field as the length of a body. So the length is directly in front of the body. And another small thing I already knew but did not use. The 'x' operator to underline the string.
So I learnt a lot from your post. Thank you.
In reply to Re^2: Better unpack solution available
by Dirk80
in thread Better unpack solution available
by Dirk80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |