X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=contrib%2Ffile_stack%2Fformat.txt;h=058b5b879a9e72436ec6b83ebfd6396d555d87ae;hp=cb8c07ee480035adbe08365984e84ef663e7b331;hb=276a54f13460010f0a5866466820c101ee08cbe6;hpb=06b0b3f19b5a3aa84b911260cc17a85a36c317ad diff --git a/contrib/file_stack/format.txt b/contrib/file_stack/format.txt index cb8c07ee..058b5b87 100644 --- a/contrib/file_stack/format.txt +++ b/contrib/file_stack/format.txt @@ -1,7 +1,8 @@ A file-based stack: =================== -This is the format for a file-based stack which works as any Stackable class. +This is the format for a file-based stack which works as any other Stackable +class. General made up: @@ -9,7 +10,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 +18,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: -------------