Class: Zip64::ExtendedTimestampField
- Defined in:
- lib/zip64/structures.rb
Constant Summary collapse
- SIG =
0x5455
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, #to_string
Constructor Details
This class inherits a constructor from Block
Instance Method Details
#skip_read?(field) ⇒ Boolean
318 319 320 321 322 323 324 325 326 327 328 329 |
# File 'lib/zip64/structures.rb', line 318 def skip_read?(field) case field.name when :mtime (@info_bits&1).zero? when :atime (@info_bits&2).zero? when :ctime (@info_bits&4).zero? else false end end |