Mercurial > lcfOS
annotate doc/utils.rst @ 318:e84047f29c78
Add burg and yacc initial attempts
author | Windel Bouwman |
---|---|
date | Tue, 31 Dec 2013 12:38:15 +0100 |
parents | e95e5572cd6d |
children | 8d07a4254f04 |
rev | line source |
---|---|
310 | 1 |
2 Utilities | |
3 ========= | |
4 | |
5 Hexfile manipulation | |
6 -------------------- | |
7 | |
8 | |
9 .. autoclass:: utils.HexFile | |
10 | |
11 | |
12 >>> from utils import HexFile | |
13 >>> h = HexFile() | |
14 >>> h.dump() | |
15 Hexfile containing 0 bytes | |
16 >>> h.addRegion(0, bytes([1,2,3])) | |
17 >>> h | |
18 Hexfile containing 3 bytes | |
19 | |
20 |