[Yunq] Clean up codegen issues for client and server.

This commit is contained in:
Drew Galbraith 2023-10-24 18:19:12 -07:00
parent 71e3521b87
commit 9c9fd167cd
15 changed files with 216 additions and 111 deletions

View file

@ -14,6 +14,9 @@ class ByteBuffer {
~ByteBuffer() { delete[] buffer_; }
uint8_t* RawPtr() { return buffer_; }
const uint8_t* RawPtr() const { return buffer_; }
template <typename T>
void WriteAt(uint64_t offset, const T& object) {
// FIXME: Add bounds check here.