lib/aws-eventstream/encoder.rb in aws-eventstream-1.0.2 vs lib/aws-eventstream/encoder.rb in aws-eventstream-1.0.3

- old
+ new

@@ -137,21 +137,21 @@ end # overhead encode helpers def pack_uint8(val) - [val].pack("C") + [val].pack('C') end def pack_uint16(val) - [val].pack("S>") + [val].pack('S>') end def pack_uint32(val) if val.respond_to?(:each) - val.pack("N*") + val.pack('N*') else - [val].pack("N") + [val].pack('N') end end end