Class: Zip64::CDFileHeader
Constant Summary collapse
- SIG =
0x02014b50
Instance Attribute Summary collapse
-
#extra_field ⇒ Object
Returns the value of attribute extra_field.
-
#file_comment ⇒ Object
Returns the value of attribute file_comment.
-
#filename ⇒ Object
Returns the value of attribute filename.
Instance Method Summary collapse
Methods inherited from Block
base_size, #describe, #fields, fields, #initialize, #pack_field, #read_field_from, read_from, #size, size_of, #size_of
Constructor Details
This class inherits a constructor from Block
Instance Attribute Details
#extra_field ⇒ Object
Returns the value of attribute extra_field.
255 256 257 |
# File 'lib/zip64/structures.rb', line 255 def extra_field @extra_field end |
#file_comment ⇒ Object
Returns the value of attribute file_comment.
255 256 257 |
# File 'lib/zip64/structures.rb', line 255 def file_comment @file_comment end |
#filename ⇒ Object
Returns the value of attribute filename.
255 256 257 |
# File 'lib/zip64/structures.rb', line 255 def filename @filename end |
Instance Method Details
#to_string ⇒ Object
256 257 258 |
# File 'lib/zip64/structures.rb', line 256 def to_string super + "#{@filename}#{extra_field}#{file_comment}" end |
#version ⇒ Object
251 252 253 |
# File 'lib/zip64/structures.rb', line 251 def version zip64? ? 45 : 10 end |