class Zip64::Serializer
- Zip64::Serializer
- Reference
- Object
Defined in:
zip64/serializer.crConstant Summary
-
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 Method Summary
- #dir_external_attrs
- #file_external_attrs
- #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 = "")
- #write_data_descriptor(io : IO, compressed_size : ZipFilesize, uncompressed_size : ZipFilesize, crc32 : ZipCRC32)
- #write_end_of_central_directory(io : IO, start_of_central_directory_location : ZipLocation, central_directory_size : ZipLocation, num_files_in_archive : ZipLocation, comment : String = "")
- #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)
Instance Method Detail
def 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 = "")
#
def write_data_descriptor(io : IO, compressed_size : ZipFilesize, uncompressed_size : ZipFilesize, crc32 : ZipCRC32)
#
def write_end_of_central_directory(io : IO, start_of_central_directory_location : ZipLocation, central_directory_size : ZipLocation, num_files_in_archive : ZipLocation, comment : String = "")
#
def 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)
#