docs/example: use xxd notation

This commit is contained in:
Alain Zscheile 2023-01-08 09:22:46 +01:00
parent 9a16509085
commit 7a67c9eb59

View file

@ -106,26 +106,25 @@ The reason this table doesn't allow more data per entry is that performance hing
```
@ 0000
5967 4c63 0000 0000 0000 0001 0000 0000
magic generator type version
00000000: 5967 4c63 0000 0000 0000 0001 0000 0000
magic generator type version
@ 0001
0000 0005 0001 0002 0000 0000 0000 0000
tstr_loc esiz ecnt reserved
00000010: 0000 0005 0001 0002 0000 0000 0000 0000
tstr_loc esiz ecnt reserved
@ 0002 linear table:
name type location esiz ecnt
0000 0001 0000 0010 0000 0004 0001 0001
.strtab strtab
00000020: 0000 0001 0000 0010 0000 0004 0001 0001
.strtab strtab
0000 0009 0000 0001 0000 0005 0001 0001
.text nt text
00000030: 0000 0009 0000 0001 0000 0005 0001 0001
.text nt text
@ 0004 string table:
002e 7374 7274 6162 002e 7465 7874 0000
.strtab .text
00000040: 002e 7374 7274 6162 002e 7465 7874 0000
.strtab .text
@ 0005 text:
0000 0d48 656c 6c6f 2057 6f72 6c64 210a
t len Hello World!
00000050: 0000 0d48 656c 6c6f 2057 6f72 6c64 210a
t len Hello World!
```