Add stuff for reading header of a file-based stack.
[core.git] / contrib / file_stack / format.txt
index cb8c07ee480035adbe08365984e84ef663e7b331..336428dbbcf26fc5e1b1daccf362c249fd2921b6 100644 (file)
@@ -9,7 +9,7 @@ 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        |
+Example: | STACKv1.0 | 01        | 00...ff  | 01        | 00...ff  | 02        |
 
 Continued:
 
@@ -17,7 +17,7 @@ Purpose: | hash 0 | separator | name 0 | entry 0    | hash n | separator | name
 ---------+--------+-----------+--------+------------+--------+-----------+--------+------------+-----+
 Bytes:   |  64    | 1         | 10     | 1-n (pack) |  64    | 1         | 10     | 1-n (pack) | 1   |
 ---------+--------+-----------+--------+------------+--------+-----------+--------+------------+-----+
-Example: | abc    |    04     | foo    |    ...     | abc    |    04     | bar    |     ...    | EOF |
+Example: | abc    |    03     | foo    |    ...     | abc    |    03     | bar    |     ...    | EOF |
 
 Explanations:
 -------------