wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
Loading...
Searching...
No Matches
quic_obuf Struct Reference

Growing output buffer view for variable-length results. More...

#include <span.h>

Data Fields

u8p
 caller-provided storage (not owned)
usz cap
 capacity of p in bytes
usz len
 bytes written so far; the callee advances this

Detailed Description

Growing output buffer view for variable-length results.

Wraps (u8 *out, usz cap, usz *out_len) in one parameter: the caller provides storage and capacity via quic_obuf_of(), the callee appends and advances len. After the call, p[0..len) holds the produced bytes.


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