\HeaderA{writeCdfHeader}{Writes a CDF header}{writeCdfHeader}
\keyword{file}{writeCdfHeader}
\keyword{IO}{writeCdfHeader}
\keyword{internal}{writeCdfHeader}
\begin{Description}\relax
Writes a CDF header.
\emph{This method is not indended to be used explicitly.
To write a CDF, use \code{\LinkA{writeCdf}{writeCdf}}() instead.}
\end{Description}
\begin{Usage}
\begin{verbatim}writeCdfHeader(con, cdfHeader, unitNames, qcUnitLengths, unitLengths, verbose=0)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{con}] An open \code{\LinkA{connection}{connection}} to which nothing has been written.
\item[\code{cdfHeader}] A CDF header \code{\LinkA{list}{list}} structure.
\item[\code{unitNames}] A \code{\LinkA{character}{character}} \code{\LinkA{vector}{vector}} of all unit names.
\item[\code{qcUnitLengths}] An \code{\LinkA{integer}{integer}} \code{\LinkA{vector}{vector}} of all the number of bytes
in each of the QC units.
\item[\code{unitLengths}] An \code{\LinkA{integer}{integer}} \code{\LinkA{vector}{vector}} of all the number of bytes
in each of the (ordinary) units.
\item[\code{verbose}] An \code{\LinkA{integer}{integer}} specifying how much verbose details are
outputted.
\end{ldescription}
\end{Arguments}
\begin{Value}
Returns nothing.
\end{Value}
\begin{Author}\relax
Henrik Bengtsson (\url{http://www.braju.com/R/})
\end{Author}
\begin{SeeAlso}\relax
This method is called by \code{\LinkA{writeCdf}{writeCdf}}().
See also \code{\LinkA{writeCdfQcUnits}{writeCdfQcUnits}}() and \code{\LinkA{writeCdfUnits}{writeCdfUnits}}().
\end{SeeAlso}

