From a5b040f3ebcd850ef06389f06e583ff70c8893d2 Mon Sep 17 00:00:00 2001 From: nishi Date: Mon, 20 May 2024 00:25:46 +0000 Subject: [PATCH] add a data git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@38 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- FORMAT | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.43.0