Function esp_idf_svc::sys::xStreamBufferSpacesAvailable
source ยท pub unsafe extern "C" fn xStreamBufferSpacesAvailable(
xStreamBuffer: *mut StreamBufferDef_t,
) -> usize
Expand description
Queries a stream buffer to see how much free space it contains, which is equal to the amount of data that can be sent to the stream buffer before it is full.
@param xStreamBuffer The handle of the stream buffer being queried.
@return The number of bytes that can be written to the stream buffer before the stream buffer would be full.
\ingroup StreamBufferManagement