diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2007-03-07 17:13:02 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2007-03-07 17:13:02 +0000 |
| commit | 6dbcf1d2ef68c8bf2b0032287bf71af8b002e35e (patch) | |
| tree | 5c2411ae8c9af50f952eab48a870d4ddd9357448 /ruby/qpid/codec.rb | |
| parent | c4d2e2a327175ad1703639e42363e8b4479ce0c0 (diff) | |
| download | qpid-python-6dbcf1d2ef68c8bf2b0032287bf71af8b002e35e.tar.gz | |
added test harness, tests, and a few missing pieces of implementation
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@515652 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'ruby/qpid/codec.rb')
| -rw-r--r-- | ruby/qpid/codec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ruby/qpid/codec.rb b/ruby/qpid/codec.rb index 2695228ba6..8d80e10aee 100644 --- a/ruby/qpid/codec.rb +++ b/ruby/qpid/codec.rb @@ -67,11 +67,10 @@ module Codec end def longlong(l) - # is this the right byte order? lower = l & 0xffffffff upper = (l & ~0xffffffff) >> 32 - long(lower) long(upper) + long(lower) end def shortstr(s) @@ -116,6 +115,7 @@ module Codec def write(str) flushbits() @out.write(str) +# puts "OUT #{str.inspect()}" end def pack(fmt, *args) @@ -238,6 +238,7 @@ module Codec if result.nil? or result.empty? raise EOF.new() else +# puts " IN #{result.inspect()}" return result end end |
