FuriStatus furi_stream_buffer_reset(FuriStreamBuffer *stream_buffer)
Resets a stream buffer to its initial, empty, state.
Definition stream_buffer.c:136
size_t furi_stream_buffer_bytes_available(FuriStreamBuffer *stream_buffer)
Queries a stream buffer to see how much data it contains, which is equal to the number of bytes that ...
Definition stream_buffer.c:112
FuriStreamBuffer * furi_stream_buffer_alloc(size_t size, size_t trigger_level)
Allocate stream buffer instance.
Definition stream_buffer.c:25
size_t furi_stream_buffer_spaces_available(FuriStreamBuffer *stream_buffer)
Queries a stream buffer to see how much free space it contains, which is equal to the amount of data ...
Definition stream_buffer.c:118
bool furi_stream_buffer_is_empty(FuriStreamBuffer *stream_buffer)
Queries a stream buffer to see if it is empty.
Definition stream_buffer.c:130
bool furi_stream_set_trigger_level(FuriStreamBuffer *stream_buffer, size_t trigger_level)
Set trigger level for stream buffer.
Definition stream_buffer.c:51
size_t furi_stream_buffer_receive(FuriStreamBuffer *stream_buffer, void *data, size_t length, uint32_t timeout)
Receives bytes from a stream buffer.
Definition stream_buffer.c:87
bool furi_stream_buffer_is_full(FuriStreamBuffer *stream_buffer)
Queries a stream buffer to see if it is full.
Definition stream_buffer.c:124
size_t furi_stream_buffer_send(FuriStreamBuffer *stream_buffer, const void *data, size_t length, uint32_t timeout)
Sends bytes to a stream buffer.
Definition stream_buffer.c:57
void furi_stream_buffer_free(FuriStreamBuffer *stream_buffer)
Free stream buffer instance.
Definition stream_buffer.c:40
Definition stream_buffer.c:14