codegen/protocol.rb.pytemplate in amq-protocol-2.1.0 vs codegen/protocol.rb.pytemplate in amq-protocol-2.2.0

- old
+ new

@@ -210,10 +210,10 @@ when :octet size = 1 result = data[offset, size].unpack(PACK_CHAR).first when :timestamp size = 8 - result = Time.at(data[offset, size].unpack(PACK_UINT32_X2).last) + result = Time.at(data[offset, size].unpack(PACK_UINT64_BE).last) when :table size = 4 + data[offset, 4].unpack(PACK_UINT32)[0] result = Table.decode(data[offset, size]) end properties[name] = result