Resource Fork
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) (Add standard navigational header) |
Dan Tobias (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | {{FormatInfo | |
+ | |formattype=electronic | ||
+ | }} | ||
+ | |||
Pre-OS X and some OS X Macintosh files have two forks: the data fork, and the resource fork, which is subdivided into resources. Many file formats use the resource fork to store data. | Pre-OS X and some OS X Macintosh files have two forks: the data fork, and the resource fork, which is subdivided into resources. Many file formats use the resource fork to store data. |
Revision as of 20:20, 17 November 2012
Pre-OS X and some OS X Macintosh files have two forks: the data fork, and the resource fork, which is subdivided into resources. Many file formats use the resource fork to store data.
A resource has a four-character type code, an ID, and data. The type code is generally unique to the type of data stored within, but this may not be the case with application-specific formats.
The format is described in detail on pages 1-121 to 1-125 of Inside Macintosh: More Macintosh Toolbox.