Skip to content

Commit ce931d0

Browse files
authored
Merge pull request #164 from t-rekttt/patch-1
Update binary-format.md
2 parents af85296 + 7a3b12c commit ce931d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/binary-format.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

450450
Thus 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

455455
and 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

460460
or generate it with `flatcc`:

0 commit comments

Comments
 (0)