Packmatic.Field.Shared.ExtendedTimestamp (Packmatic v1.2.0) View Source
Represents 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.
Link to this section Summary
Link to this section Types
Specs
t() :: %Packmatic.Field.Shared.ExtendedTimestamp{timestamp: DateTime.t()}