File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ Buffer :
119119
120120 header:
121121
122- +0x0000 00 01 00 00 ; find root table at offset +0x0000100 .
122+ +0x0000 00 01 00 00 ; find root table at offset +0x00000100 .
123123 +0x0004 'N', 'O', 'O', 'B' ; possibly our file identifier
124124
125125 ...
@@ -449,12 +449,12 @@ for our example buffer:
449449
450450Thus we can open a hex editor and locate
451451
452- +0x0000 00 01 00 00 ; find root table at offset +0x0000100 .
452+ +0x0000 00 01 00 00 ; find root table at offset +0x00000100 .
453453 +0x0004 'N', 'O', 'O', 'B' ; possibly our file identifier
454454
455455and replace it with
456456
457- +0x0000 00 01 00 00 ; find root table at offset +0x0000100 .
457+ +0x0000 00 01 00 00 ; find root table at offset +0x00000100 .
458458 +0x0004 58 4f 60 0a ; very likely our file identifier identifier
459459
460460or generate it with ` flatcc ` :
You can’t perform that action at this time.
0 commit comments