Start of file
4 byte numeric, magic cookie value. Identifies this as a data file
2 byte numeric, number of fields in each record
Schema description section.
Repeated for each field in a record:
1 byte numeric, length in bytes of field name
n bytes(defined by previous entry), field name
1 byte numeric, field length in bytes
end of repeating block
Repeat to end of file:
1 byte flag. 00 implies valid record, OxFF implies deleted record
Record contaioning fields in order specified in schema section, no separators between fields, each field fixed length at maximum specified in schema information
End of file
All numeric values are stored in the header information use the formats of the DataInputStream and DataOutputStream classes. All text values, and all fields(which are text only), contain only 8 bit characters, null terminated if less than the maxmum length for the field. The character encoding is 8 bit US ASCII.