Start C++ rewrite.

This commit is contained in:
2025-11-24 23:36:19 -08:00
parent 7245003769
commit bbb23916a0
10 changed files with 758 additions and 97 deletions

17
abuf.cc Normal file
View File

@@ -0,0 +1,17 @@
#include "abuf.h"
namespace ke {
void abuf::append(std::string_view s) {
buffer_.append(s);
}
void abuf::append(const char* s, std::size_t len) {
buffer_.append(s, len);
}
void abuf::append(char c) {
buffer_.push_back(c);
}
} // namespace ke