Clarified the format, in particular with regard to how 'mini' vs. 'maxi'

data effects field sizes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9742 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
ejakowatz
2004-11-02 20:49:35 +00:00
parent 48bfcd5601
commit 380156b567
+7 -3
View File
@@ -10,16 +10,20 @@ Data field:
Data Bytes Meaning
1 flags
4 type
// Mini data (all data less than 256 bytes total)
1 item count (*if* there is more than one)
1 data length
// Maxi data (all data more than 255 bytes total)
4 item count (*if* there is more than one)
4 data length
1 name length
X name
// Single item
4 item size (*if* this is a variable sized item)
Y data
Y item data - NULL padded to 8-byte boundary
// Multiple items
4 item size (for variable sized items)
Y item data - padded to 8-byte boundary
4 item size (*if* this is a variable sized item)
Y item data - NULL padded to 8-byte boundary
//------------------------------------------------------------------------------
// An example