Newer
Older
reed
committed
\subsection{Comment (0x03)}
The comment whisker specifies a textual comment on the CATS packet. The content is an arbitrary byte string. \textbf{A valid CATS packet may contain zero or more comment whiskers.} In this case, their content should be concatenated together. This allows for comments longer than 255 bytes. After concatenation, the result must be valid UTF-8. Note that an individual comment whisker may or may not be valid UTF-8.
\subsubsection{Structure}
\begin{tabular}{|l|l|l|l|}
\hline
\textbf{Byte offset} & \textbf{Length} & \textbf{Value} & \textbf{Description} \\
\hline
0 & 1 & 0x03 & Whisker type \\
\hline
1 & 1 & $N$ & Whisker length in bytes \\
\hline
2 & $N$ & & Comment content \\
\hline
\end{tabular}