General made up:
-Purpose: | "magic" | separator | count | position | separator |
----------+-----------+-----------+----------+----------+-----------+
-Bytes: | 9 | 1 | 20 (hex) | 20 (hex) | 1 |
----------+-----------+-----------+----------+----------+-----------+
-Example: | STACKv1.0 | 00 | 00...ff | 00...ff | ff |
+Purpose: | "magic" | separator | count | separator | position | separator |
+---------+-----------+-----------+----------+-----------+------0---+-----------+
+Bytes: | 9 | 1 | 20 (hex) | 1 | 20 (hex) | 1 |
+---------+-----------+-----------+----------+-----------+----------+-----------+
+Example: | STACKv1.0 | 01 | 00...ff | 02 | 00...ff | 03 |
Continued:
---------+--------+-----------+--------+------------+--------+-----------+--------+------------+-----+
Bytes: | 64 | 1 | 10 | 1-n (pack) | 64 | 1 | 10 | 1-n (pack) | 1 |
---------+--------+-----------+--------+------------+--------+-----------+--------+------------+-----+
-Example: | abc | ??? | foo | ... | abc | ??? | bar | ... | EOF |
+Example: | abc | 04 | foo | ... | abc | 04 | bar | ... | EOF |
Explanations:
-------------
name X - Name of stack the entries belongs in
entry X - The actual data, compressed with pack()
EOF - End-of-file character
+ ... - Data
??? - Must be still found out which character/hashing algorthym fits best