//------------------------------------------------ //--- 010 Editor v12.0.1 Binary Template // // File: RawImageDiffMetadata.bt // Authors: blacktop // Version: 1.0 // Purpose: Apple Raw Image Diff Metadata // Category: Image // File Mask: * // ID Bytes: // History: //------------------------------------------------ LittleEndian(); typedef struct Header { char Digest[32]; uint64 TotalBytes; uint64 Ratio; uint64 Extents; uint64 Forks; }; typedef struct Extent { uint64 offset; uint64 size; }; typedef struct Chunk { uint32 size; uint64 total; }; typedef struct Fork { uint64 size; uint64 compressed; uint64 variant; uint64 index; uint64 flags; ubyte algorithm; uint64 fork_header; // all zeros I think //uint32 data[394]; }; Header header; Extent extents[header.Extents]; Fork forks; uint32 data[394]; Fork forks2; uint32 data2[22]; Fork forks3; uint32 data3[4]; Fork forks4; uint32 data4[1]; Fork forks5; uint32 data5[1]; Fork forks6; uint32 data6[1]; Fork forks7; uint32 data7[877]; Fork forks8;