Sha256: 177b81eeff9c7d67518e858819edd5e630149645f4c4175ca55e66f21c8e36c9

Contents?: true

Size: 464 Bytes

Versions: 74

Compression:

Stored size: 464 Bytes

Contents

module Zip
  # placeholder to reserve space for a Zip64 extra information record, for the
  # local file header only, that we won't know if we'll need until after
  # we write the file data
  class ExtraField::Zip64Placeholder < ExtraField::Generic
    HEADER_ID = ['9999'].pack('H*') # this ID is used by other libraries such as .NET's Ionic.zip
    register_map

    def initialize(_binstr = nil); end

    def pack_for_local
      "\x00" * 16
    end
  end
end

Version data entries

74 entries across 57 versions & 9 rubygems

Version Path
tdiary-5.1.2 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip/extra_field/zip64_placeholder.rb
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/rubyzip-2.0.0/lib/zip/extra_field/zip64_placeholder.rb
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip/extra_field/zip64_placeholder.rb
rubyzip-2.3.0 lib/zip/extra_field/zip64_placeholder.rb
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.2.0/lib/zip/extra_field/zip64_placeholder.rb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/rubyzip-2.0.0/lib/zip/extra_field/zip64_placeholder.rb
rubyzip-2.2.0 lib/zip/extra_field/zip64_placeholder.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.3/lib/zip/extra_field/zip64_placeholder.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/rubyzip-1.3.0/lib/zip/extra_field/zip64_placeholder.rb
rubyzip-2.1.0 lib/zip/extra_field/zip64_placeholder.rb
tdiary-5.1.0 vendor/bundle/gems/rubyzip-2.0.0/lib/zip/extra_field/zip64_placeholder.rb
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/rubyzip-2.0.0/lib/zip/extra_field/zip64_placeholder.rb
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.4/lib/zip/extra_field/zip64_placeholder.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/rubyzip-2.0.0/lib/zip/extra_field/zip64_placeholder.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/rubyzip-2.0.0/lib/zip/extra_field/zip64_placeholder.rb
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.4/lib/zip/extra_field/zip64_placeholder.rb
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.4/lib/zip/extra_field/zip64_placeholder.rb
rubyzip-2.0.0 lib/zip/extra_field/zip64_placeholder.rb
rubyzip-1.3.0 lib/zip/extra_field/zip64_placeholder.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.2/lib/zip/extra_field/zip64_placeholder.rb