|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
Read-only view of a byte range. More...
#include <span.h>
Data Fields | |
| const u8 * | p |
| first byte of the viewed range (not owned) | |
| usz | n |
| number of readable bytes at p | |
Read-only view of a byte range.
Wraps a (const u8 *, length) pair by value. Construct with quic_span_of(); pass an empty input as quic_span_of(0, 0) (also written {0, 0}). The pointed-to bytes are borrowed, never copied.