Skip to content
Snippets Groups Projects
timestamp.tex 528 B
Newer Older

The timestamp whisker is used to mark the time that a CATS packet occurred at. It is encoded in the Unix timestamp --- that is, seconds since January 1, 1970, in the UTC timezone.

\subsubsection{Structure}

\begin{tabular}{|l|l|l|l|}
  \hline
  \textbf{Byte offset} & \textbf{Length} & \textbf{Value} & \textbf{Description} \\
  \hline
  0 & 1 & 0x01 & Whisker type \\
  \hline
  1 & 1 & 5 & Whisker length in bytes \\
  \hline
  2 & 5 & & Current time (Unix timestamp) \\
  \hline
\end{tabular}