|
cwist
Modern C web framework with libttak runtime
|
Split a message into sequenced chunks. More...
#include <seq.h>
Public Attributes | |
| uint8_t ** | chunks |
| Array of chunk buffers. | |
| size_t * | chunk_lens |
| Length of each chunk buffer. | |
| size_t | count |
| Number of chunks. | |
Split a message into sequenced chunks.
Every chunk is an independent byte buffer prefixed with the 8-byte sequence header. The caller must free the returned buffers with cwist_seq_message_free().
| size_t* cwist_seq_message::chunk_lens |
| uint8_t** cwist_seq_message::chunks |
| size_t cwist_seq_message::count |