nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_compress_decompress_bytes_needed_t

typedef size_t(* nrf_compress_decompress_bytes_needed_t) (void *inst)

#include <include/nrf_compress/implementation.h>

Return chunk size of data to provide to next call of nrf_compress_decompress_func_t function. This is the ideal amount of data that should be provided to the next function call. Less data than this may be provided if more is not available (for example, end of data or data is is being streamed).

Parameters
[in]instReserved for future use, must be NULL.
Return values
Positivevalue Success indicating chunk size.
-errnoNegative errno code on other failure.