diff options
Diffstat (limited to 'python/qpid/codec010.py')
| -rw-r--r-- | python/qpid/codec010.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/qpid/codec010.py b/python/qpid/codec010.py index 60adbdc2e4..0e4244fb75 100644 --- a/python/qpid/codec010.py +++ b/python/qpid/codec010.py @@ -221,6 +221,12 @@ class Codec(Packer): attr = "write_uint%d" % (width*8) getattr(self, attr)(n) + def write_uuid(self, s): + self.pack("16s", s) + + def read_uuid(self): + return self.unpack("16s") + class StringCodec(Codec): |
