diff doc/utils.rst @ 310:e95e5572cd6d

Added utils doc page
author Windel Bouwman
date Fri, 13 Dec 2013 14:10:10 +0100
parents
children 8d07a4254f04
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/utils.rst	Fri Dec 13 14:10:10 2013 +0100
@@ -0,0 +1,20 @@
+
+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
+
+