summaryrefslogtreecommitdiff
path: root/python/qpid/codec010.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-04-22 16:11:34 +0000
committerRafael H. Schloming <rhs@apache.org>2008-04-22 16:11:34 +0000
commite06aa805cfe24b8edf619a6a535883f94589ac35 (patch)
tree4b886461816ca97127aae8a9639ddad74d77bd46 /python/qpid/codec010.py
parent61959e29ee69f9cebb61b845272eededaec6f11e (diff)
downloadqpid-python-e06aa805cfe24b8edf619a6a535883f94589ac35.tar.gz
QPID-947: update cpp and python management to 0-10 final
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650565 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/codec010.py')
-rw-r--r--python/qpid/codec010.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/python/qpid/codec010.py b/python/qpid/codec010.py
index f82a7a49dc..27fcd5d418 100644
--- a/python/qpid/codec010.py
+++ b/python/qpid/codec010.py
@@ -221,12 +221,18 @@ class Codec(Packer):
attr = "write_uint%d" % (width*8)
getattr(self, attr)(n)
+ def read_uuid(self):
+ return self.unpack("16s")
+
def write_uuid(self, s):
self.pack("16s", s)
- def read_uuid(self):
+ def read_bin128(self):
return self.unpack("16s")
+ def write_bin128(self, b):
+ self.pack("16s", b)
+
class StringCodec(Codec):