pub unsafe extern "C" fn furi_stream_buffer_bytes_available(
    stream_buffer: *mut FuriStreamBuffer
) -> 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.

Returns:

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

Arguments

  • stream_buffer - The stream buffer instance.