in reply to Re^3: How do unpack templates work
in thread How do unpack templates work
The first snippet is clear. So is the second, which I verified, extracts the first 4 bytes into a single variable. I do not understand your output in this case 'vzI..'
Your example now makes the C template clear - it works differently in the sense that the number that follows the C is the number of octets to extract rather than number of octets to combine into a single variable.
I missed this in the docs, if it is mentioned there. Is this behaviour unique to C? Again I could not find it in the docs. If you used the docs to figure this out, I would appreciate a pointer to the section
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How do unpack templates work
by BrowserUk (Patriarch) on Jul 20, 2012 at 20:35 UTC | |
by unlinker (Monk) on Jul 20, 2012 at 21:12 UTC |