Packmatic.Field.Shared.ExtendedTimestamp (Packmatic v2.0.0)
View SourceRepresents the Extended Timestamp Extra Field, which is emitted in both Local and Central File Headers. The field is emitted with only the modification time, in seconds since UNIX epoch (1 January, 1970).
Structure
Shared Extended Timestamp (UTC)
| Size | Content |
|---|---|
| 2 bytes | Signature |
| 2 bytes | Size of Rest of Field (Bytes) |
| 1 byte | Flags |
| 4 bytes | Modification Time (Seconds since UNIX Epoch) |
Notes
- The flag value is
1, representing that Modification Time is set.
Summary
Types
@type t() :: %Packmatic.Field.Shared.ExtendedTimestamp{timestamp: DateTime.t()}