    # File lib/memcache.rb, line 415
      def unmarshal(value, key = nil)
        return value if value.nil?

        object = Marshal.load(value)
        object.memcache_flags = value.memcache_flags
        object.memcache_cas   = value.memcache_cas
        object
      rescue Exception => e
        $stderr.puts "Memcache read error: #{e.class} #{e.to_s} on key '#{key}' while unmarshalling value: #{value}"
        nil
      end