Module resource_fork

Module resource_fork 

Source
Expand description

Safe extraction of resource type codes from classic Macintosh resource forks.

Parses the 16-byte Resource Manager header and resource type map without allocating full resource payloads, enabling rapid format detection for files whose entire type identity resides in the resource fork.

Functionsยง

extract_resource_fork_type_codes
Extracts 4-byte resource type codes from raw resource fork data.