The / template character allows packing and unpacking of strings where the packed structure contains a byte count followed by the string itself. You write length-item/string-item.
Good solution, BrowserUK.
In reply to Re^2: Faster way to parse binary stream
by Roy Johnson
in thread Faster way to parse binary stream
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |