# File lib/mongo/protocol/compressed.rb, line 73 def inflate! message = Registry.get(@original_op_code).allocate uncompressed_message = Zlib::Inflate.inflate(@compressed_message) buf = BSON::ByteBuffer.new(uncompressed_message) message.send(:fields).each do |field| if field[:multi] Message.deserialize_array(message, buf, field) else Message.deserialize_field(message, buf, field) end end message end