\hypertarget{structwickr__buffer}{}\doxysection{wickr\+\_\+buffer Struct Reference}
\label{structwickr__buffer}\index{wickr\_buffer@{wickr\_buffer}}


Represents an array of bytes and the length of the allocation associated with those bytes.  




{\ttfamily \#include $<$buffer.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
size\+\_\+t \mbox{\hyperlink{structwickr__buffer_a8472d93dd98cfe6f98740a42ae16c86b}{length}}
\item 
uint8\+\_\+t $\ast$ \mbox{\hyperlink{structwickr__buffer_a892763a6b3cbe227c4015f948acbc2bf}{bytes}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Represents an array of bytes and the length of the allocation associated with those bytes. 

Buffers are the fundamental building block of many wickr structures, and the preferred way of passing around pointers to data in a safe way. 

\doxysubsection{Field Documentation}
\mbox{\Hypertarget{structwickr__buffer_a892763a6b3cbe227c4015f948acbc2bf}\label{structwickr__buffer_a892763a6b3cbe227c4015f948acbc2bf}} 
\index{wickr\_buffer@{wickr\_buffer}!bytes@{bytes}}
\index{bytes@{bytes}!wickr\_buffer@{wickr\_buffer}}
\doxysubsubsection{\texorpdfstring{bytes}{bytes}}
{\footnotesize\ttfamily wickr\+\_\+buffer\+::bytes}

an array of bytes of size length. bytes should not be NULL \mbox{\Hypertarget{structwickr__buffer_a8472d93dd98cfe6f98740a42ae16c86b}\label{structwickr__buffer_a8472d93dd98cfe6f98740a42ae16c86b}} 
\index{wickr\_buffer@{wickr\_buffer}!length@{length}}
\index{length@{length}!wickr\_buffer@{wickr\_buffer}}
\doxysubsubsection{\texorpdfstring{length}{length}}
{\footnotesize\ttfamily wickr\+\_\+buffer\+::length}

the length of the allocation pointed to by bytes. Length should always be a non-\/zero value 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/wickrcrypto/include/wickrcrypto/buffer.\+h\end{DoxyCompactItemize}
