[aravis] python: add a link to the hexadecimal dump blog post.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] python: add a link to the hexadecimal dump blog post.
- Date: Sun, 3 Nov 2013 20:47:59 +0000 (UTC)
commit 6a41f2ae26c7532fbfdf68736d1f7958ff9878da
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Sun Nov 3 21:46:07 2013 +0100
python: add a link to the hexadecimal dump blog post.
tests/python/arv-single-buffer-test.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/python/arv-single-buffer-test.py b/tests/python/arv-single-buffer-test.py
index 615d188..91902f2 100644
--- a/tests/python/arv-single-buffer-test.py
+++ b/tests/python/arv-single-buffer-test.py
@@ -34,6 +34,8 @@ import time
from gi.repository import Aravis
+# Hexadecimal dump code from http://www.alexonlinux.com/hex-dump-functions
+
def DumpBuffer (buf, length, caption="", dest=sys.stdout):
def GetPrintableChar(str):
if str.isalpha():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]