diff options
Diffstat (limited to 'python/qpid/codec010.py')
| -rw-r--r-- | python/qpid/codec010.py | 8 |
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): |
