PHP 8.2.31
Preview: marshal.rb Size: 568 B
//proc/thread-self/root/opt/alt/ruby32/share/ruby/openssl/marshal.rb

# frozen_string_literal: true
#--
# = Ruby-space definitions to add DER (de)serialization to classes
#
# = Info
# 'OpenSSL for Ruby 2' project
# Copyright (C) 2002  Michal Rokos <m.rokos@sh.cvut.cz>
# All rights reserved.
#
# = Licence
# This program is licensed under the same licence as Ruby.
# (See the file 'LICENCE'.)
#++
module OpenSSL
  module Marshal
    def self.included(base)
      base.extend(ClassMethods)
    end

    module ClassMethods
      def _load(string)
        new(string)
      end
    end

    def _dump(_level)
      to_der
    end
  end
end

Directory Contents

Dirs: 0 × Files: 11

Name Size Perms Modified Actions
707 B lrw-r--r-- 2026-04-07 14:12:51
Edit Download
10.22 KB lrw-r--r-- 2026-04-07 14:12:51
Edit Download
1.70 KB lrw-r--r-- 2026-04-07 14:12:51
Edit Download
1.63 KB lrw-r--r-- 2026-04-07 14:12:51
Edit Download
2.50 KB lrw-r--r-- 2026-04-07 14:12:51
Edit Download
568 B lrw-r--r-- 2026-04-07 14:12:51
Edit Download
613 B lrw-r--r-- 2026-04-07 14:12:51
Edit Download
14.76 KB lrw-r--r-- 2026-04-07 14:12:51
Edit Download
17.45 KB lrw-r--r-- 2026-04-07 14:12:51
Edit Download
70 B lrw-r--r-- 2026-04-07 14:12:51
Edit Download
11.60 KB lrw-r--r-- 2026-04-07 14:12:51
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).