cwist
Modern C web framework with libttak runtime
Loading...
Searching...
No Matches
cwist_seq_chunk Struct Reference

Parsed view of one sequenced chunk. More...

#include <seq.h>

Public Attributes

uint16_t seq
 1-based sequence number.
 
uint16_t total
 Total chunks in the message.
 
uint16_t payload_len
 Payload length in this chunk.
 
uint16_t chunk_size
 Payload length of a full chunk.
 
const uint8_t * payload
 Pointer to payload bytes.
 

Detailed Description

Parsed view of one sequenced chunk.

The payload pointer borrows the underlying buffer supplied to cwist_seq_chunk_parse().

Definition at line 45 of file seq.h.

Member Data Documentation

◆ chunk_size

uint16_t cwist_seq_chunk::chunk_size

Payload length of a full chunk.

Definition at line 49 of file seq.h.

Referenced by cwist_seq_chunk_parse().

◆ payload

const uint8_t* cwist_seq_chunk::payload

Pointer to payload bytes.

Definition at line 50 of file seq.h.

Referenced by cwist_seq_chunk_parse().

◆ payload_len

uint16_t cwist_seq_chunk::payload_len

Payload length in this chunk.

Definition at line 48 of file seq.h.

Referenced by cwist_seq_chunk_parse().

◆ seq

uint16_t cwist_seq_chunk::seq

1-based sequence number.

Definition at line 46 of file seq.h.

Referenced by cwist_seq_chunk_parse().

◆ total

uint16_t cwist_seq_chunk::total

Total chunks in the message.

Definition at line 47 of file seq.h.

Referenced by cwist_seq_chunk_parse().


The documentation for this struct was generated from the following file: