view 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
line wrap: on
line source


Utilities
=========

Hexfile manipulation
--------------------


.. autoclass:: utils.HexFile


>>> from utils import HexFile
>>> h = HexFile()
>>> h.dump()
Hexfile containing 0 bytes
>>> h.addRegion(0, bytes([1,2,3]))
>>> h
Hexfile containing 3 bytes