[Yunq] Clean up codegen issues for client and server.
This commit is contained in:
parent
71e3521b87
commit
9c9fd167cd
15 changed files with 216 additions and 111 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue