From 52e53edf63ca4284964e5986e23394fb310b0fa6 Mon Sep 17 00:00:00 2001 From: brianc Date: Tue, 28 Sep 2010 23:30:06 -0500 Subject: [PATCH] added little hex helper methods --- test/test-helper.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test-helper.js b/test/test-helper.js index c6d7a8d5..0932f327 100644 --- a/test/test-helper.js +++ b/test/test-helper.js @@ -13,3 +13,11 @@ test = function(name, action) { test.tabout -= 2; }; test.tabout = 0; + +stringToHex = function(string) { + +}; + +hexToString = function(hexArray) { + return new Buffer(hexArray).toString('utf8'); +}