Function esp_idf_svc::sys::mbedtls_ssl_get_bytes_avail
source · pub unsafe extern "C" fn mbedtls_ssl_get_bytes_avail(
ssl: *const mbedtls_ssl_context,
) -> usize
Expand description
\brief Return the number of application data bytes remaining to be read from the current record.
\param ssl SSL context
\return How many bytes are available in the application data record read buffer.
\note When working over a datagram transport, this is useful to detect the current datagram’s boundary in case \c mbedtls_ssl_read has written the maximal amount of data fitting into the input buffer.