:orphan: .. index:: pair: struct; te_dbuf .. _doxid-structte__dbuf: struct te_dbuf ============== .. toctree:: :hidden: Overview ~~~~~~~~ Dynamically allocated buffer. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct te_dbuf { // fields uint8_t* :ref:`ptr`; size_t :ref:`size`; size_t :ref:`len`; uint8_t :ref:`grow_factor`; }; .. _details-structte__dbuf: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Dynamically allocated buffer. Fields ------ .. index:: pair: variable; ptr .. _doxid-structte__dbuf_1aa5b61fdf0d603ed8ff708b46f9118a72: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint8_t* ptr Pointer to the buffer. .. index:: pair: variable; size .. _doxid-structte__dbuf_1ac408af7bea59316735203a93de4dfab3: .. ref-code-block:: cpp :class: doxyrest-title-code-block size_t size Size of the buffer. .. index:: pair: variable; len .. _doxid-structte__dbuf_1ac6fb0cccb4db698d22551276a14cf1a4: .. ref-code-block:: cpp :class: doxyrest-title-code-block size_t len Length of actual data. .. index:: pair: variable; grow_factor .. _doxid-structte__dbuf_1a657ae2e8f942813275915ab547582fa5: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint8_t grow_factor See TE_DBUF_DEFAULT_GROW_FACTOR.