ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
Str Struct Reference

Growable NUL-terminated buffer used while assembling ASCII output. More...

#include <include/ascii-chat/video/ascii/common.h>

Data Fields

char * data
size_t len
size_t cap

Detailed Description

Growable NUL-terminated buffer used while assembling ASCII output.

data points to the owned allocation, len counts the bytes currently in use (not including the final NUL), and cap is the allocation size. Video formatting helpers append to this buffer and grow it when a rendered row or frame does not fit.

Definition at line 175 of file include/ascii-chat/video/ascii/common.h.


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