2.3.1 RecordHeader
A structure at the beginning of each container record and each atom record in the file. The values in the record header and the context of the record are used to identify and interpret the record data that follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
recVer |
recInstance |
recType |
|||||||||||||||||||||||||||||
recLen |
recVer (4 bits): An unsigned integer that specifies the version of the record data that follows the record header. A value of 0xF specifies that the record is a container record.
recInstance (12 bits): An unsigned integer that specifies the record instance data. Interpretation of the value is dependent on the particular record type.
recType (2 bytes): A RecordType enumeration (section 2.13.24) that specifies the type of the record data that follows the record header.
recLen (4 bytes): An unsigned integer that specifies the length, in bytes, of the record data that follows the record header.