MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / buf_byte

Function buf_byte

internal/cbm/pdf/pdf_obj.c:173–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173static bool buf_byte(pdf_buf_t *b, unsigned char c) {
174 if (!buf_reserve(b, 1)) {
175 return false;
176 }
177 b->p[b->n++] = c;
178 return true;
179}
180
181static void buf_free(pdf_buf_t *b) {
182 cbm_free(CBM_MEM_CLASS_EXTRACT, b->p);

Callers 2

f_lzwFunction · 0.85
f_ahxFunction · 0.85

Calls 1

buf_reserveFunction · 0.85

Tested by

no test coverage detected