Packmatic.Field.Shared.ExtendedTimestamp (Packmatic v2.0.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.

Summary

Types

t()

@type t() :: %Packmatic.Field.Shared.ExtendedTimestamp{timestamp: DateTime.t()}