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)

SizeContent
2 bytesSignature
2 bytesSize of Rest of Field (Bytes)
1 byteFlags
4 bytesModification Time (Seconds since UNIX Epoch)

Notes

  1. 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()}