Signed-off-by: Isaku Yamahata <[email protected]>
---
 ryu/utils.py |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ryu/utils.py b/ryu/utils.py
index 1bc7ea3..f2da670 100644
--- a/ryu/utils.py
+++ b/ryu/utils.py
@@ -65,3 +65,7 @@ def find_flagfile(default_path=RYU_DEFAULT_FLAG_FILE):
 
 def round_up(x, y):
     return ((x + y - 1) / y) * y
+
+
+def hex_array(data):
+    return ' '.join(hex(ord(chr)) for chr in data)
-- 
1.7.10.4


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to