This commit is contained in:
Niklas Gollenstede
2025-10-31 22:37:36 +01:00
commit 174fe17e89
197 changed files with 79558 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#include "stringbuffer.h"
void Stringbuffer::put(char c) {
if (pos < (sizeof(buffer) - 1)) {
buffer[pos++] = c;
buffer[pos] = '\0';
}
if (pos >= (sizeof(buffer) - 1)) {
flush();
}
}