Function cwipc_encoder_get_encoded_size
Defined in File api.h
Function Documentation
-
size_t cwipc_encoder_get_encoded_size(cwipc_encoder *obj)
Return size (in bytes) of compressed data available (C interface).
The caller should first call
available()to check that compressed data is available, thenget_encoded_size()to check how much data is available, then allocate a buffer of suitable size, then callcopy_data().- Parameters:
obj – The cwipc_encoder object.