Function esp_idf_sys::xStreamBufferIsEmpty

source ยท
pub unsafe extern "C" fn xStreamBufferIsEmpty(
    xStreamBuffer: StreamBufferHandle_t,
) -> BaseType_t
Expand description

@cond !DOC_EXCLUDE_HEADER_SECTION stream_buffer.h

@code{c} BaseType_t xStreamBufferIsEmpty( StreamBufferHandle_t xStreamBuffer ); @endcode @endcond

Queries a stream buffer to see if it is empty. A stream buffer is empty if it does not contain any data.

@param xStreamBuffer The handle of the stream buffer being queried.

@return If the stream buffer is empty then pdTRUE is returned. Otherwise pdFALSE is returned.

@cond !DOC_SINGLE_GROUP \defgroup xStreamBufferIsEmpty xStreamBufferIsEmpty @endcond \ingroup StreamBufferManagement