Sha256: 63d383398c0494eef613f7d7585b6ad0f494c66cb4cf38777b32c3f2c0770440

Contents?: true

Size: 215 Bytes

Versions: 11

Compression:

Stored size: 215 Bytes

Contents

class Memcached
  module MarshalCodec
      def self.encode(key, value, flags)
        [Marshal.dump(value), flags]
      end
      def self.decode(key, value, flags)
        Marshal.load(value)
      end
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
vinted-memcached-1.8.5 lib/memcached/marshal_codec.rb
vinted-memcached-1.8.4 lib/memcached/marshal_codec.rb
vinted-memcached-1.8.3 lib/memcached/marshal_codec.rb
vinted-memcached-1.8.2 lib/memcached/marshal_codec.rb
vinted-memcached-1.8.0 lib/memcached/marshal_codec.rb
dalli_memcached-1.8.0 lib/memcached/marshal_codec.rb
memcached-1.8.0 lib/memcached/marshal_codec.rb
memcached-1.7.2 lib/memcached/marshal_codec.rb
memcached-1.7.0 lib/memcached/marshal_codec.rb
memcached-1.6.1 lib/memcached/marshal_codec.rb
memcached-1.6.0 lib/memcached/marshal_codec.rb