projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new maxusb library
[goodfet]
/
client
/
util.py
diff --git a/client/util.py
b/client/util.py
new file mode 100644
(file)
index 0000000..
da9d344
--- /dev/null
+++ b/
client/util.py
@@ -0,0
+1,7
@@
+# util.py
+#
+# Random helpful functions.
+
+def bytes_as_hex(b, delim=" "):
+ return delim.join(["%02x" % x for x in b])
+