Function esp_idf_sys::xStreamBufferBytesAvailable

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

Queries a stream buffer to see how much data it contains, which is equal to the number of bytes that can be read from the stream buffer before the stream buffer would be empty.

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

@return The number of bytes that can be read from the stream buffer before the stream buffer would be empty.

\ingroup StreamBufferManagement