From: nishi Date: Mon, 20 May 2024 00:25:46 +0000 (+0000) Subject: add a data X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a5b040f3ebcd850ef06389f06e583ff70c8893d2;p=dataworks.git add a data git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@38 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- diff --git a/FORMAT b/FORMAT index 633ac8a..11e282d 100644 --- a/FORMAT +++ b/FORMAT @@ -14,6 +14,7 @@ flag : 1 byte uint8_t field_index: 1 byte uint8_t db_index : 1 byte uint8_t count : 8 bytes uint64_t +fragnum : 8 bytes uint64_t data : [size] bytes ASCII (but you SHOULD read only [length] bytes. Use [size] to skip paddings!) There are 5 types for `dbentry`: @@ -25,6 +26,7 @@ Help : '?' ASCII, should be just ignored and 1 flag for `dbentry`: Used : 0b10000000 Flag this if you are using the entry. +Fragment : 0b01000000 Flag this if the entry is fragment. Index entry (`indexentry`) MUST be in this format: flag : 1 byte uint8_t