class

Zip64::Serializer

Inherits Reference < Object

Constants

MADE_BY_SIGNATURE = Bytes[52, 3]

A combination of two bytes - version_made_by as low byte and the OS type as high byte version_made_by = 52 os_type = 3 # UNIX [version_made_by, os_type].pack('CC')

VERSION_NEEDED_TO_EXTRACT = 20
VERSION_NEEDED_TO_EXTRACT_ZIP64 = 45

Instance methods

dir_external_attrs
Source
file_external_attrs
Source
write_central_directory_file_header(io : IO, filename : String, compressed_size : ZipFilesize, uncompressed_size : ZipFilesize, crc32 : ZipCRC32, gp_flags : ZipGpFlags, mtime : Time, storage_mode : ZipStorageMode, local_file_header_location : ZipLocation, additional_extra_fields : Bytes = Bytes.empty, comment : String = "")
Source
write_data_descriptor(io : IO, compressed_size : ZipFilesize, uncompressed_size : ZipFilesize, crc32 : ZipCRC32)
Source
write_end_of_central_directory(io : IO, start_of_central_directory_location : ZipLocation, central_directory_size : ZipLocation, num_files_in_archive : ZipLocation, comment : String = "")
Source
write_local_file_header(io : IO, filename : String, compressed_size : ZipFilesize, uncompressed_size : ZipFilesize, crc32 : ZipCRC32, gp_flags : ZipGpFlags, mtime : Time, storage_mode : ZipStorageMode, additional_extra_fields : Bytes = Bytes.empty)
Source

Nested types