MxHd: Difference between revisions

Jump to navigation Jump to search
21 bytes added ,  18 September 2024
no edit summary
(Defined buffer size and buffer count variables.)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
The [[MxHd]] section is part of the [[Interleaf file]] standard. It's the global header that defines metadata about the Interleaf file itself.
The [[MxHd]] section is part of the [[Interleaf File]] standard. It's the global header that defines metadata about the Interleaf file itself.


== Specification ==
== Specification ==
Line 6: Line 6:
{| class="wikitable"
{| class="wikitable"
|-
|-
! Bytes !! Offset !! Description
! Name !! Bytes !! Offset !! Description
|-
|-
| "MxHd" || 0 || 4-byte data identifier
| "MxHd" || 4 || 0 || A data identifier
|-
|-
| Chunk size || 4 || 4-byte integer specifying the size of this chunk minus the first 8 bytes (usually '''12''' or '''0xC''' for MxHd section)
| Chunk size || 4 || 4 || An integer specifying the size of this chunk minus the first 8 bytes (usually '''12''' or '''0xC''' for MxHd section)
|-
|-
| Major version || 2 || 2-byte integer specifying major version (always '''2''' in retail releases)
| Minor version || 2 || 8 || An integer specifying minor version (always '''2''' in retail releases)
|-
|-
| Minor version || 2 || 2-byte integer specifying minor version (always '''2''' in retail releases)
| Major version || 2 || 10 || An integer specifying major version (always '''2''' in retail releases)
|-
|-
| Buffer size || 4 || 4-byte integer specifying the size of every data buffer
| Buffer size || 4 || 12 || An integer specifying the size of every data buffer
|-
|-
| Buffer count || 4 || 4-byte integer specifying the number of data buffers
| Buffer count || 4 || 16 || An integer specifying the number of data buffers
|}
|}

Navigation menu