Function esp_idf_svc::sys::xStreamBufferIsEmpty

source ยท
pub unsafe extern "C" fn xStreamBufferIsEmpty(
    xStreamBuffer: *mut StreamBufferDef_t,
) -> i32
Expand description

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.

\ingroup StreamBufferManagement