From 803230840b3f5b622660c546c2f1f0f1d4f62162 Mon Sep 17 00:00:00 2001 From: Theis Pieter Hollebeek Date: Thu, 12 Dec 2024 11:32:58 +0100 Subject: [PATCH] fix bufferedwriter::write(u8) --- runtime/rpc_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/rpc_server.cpp b/runtime/rpc_server.cpp index 1dc4eaa..c720470 100644 --- a/runtime/rpc_server.cpp +++ b/runtime/rpc_server.cpp @@ -23,6 +23,7 @@ auto sliger::rpc::BufferedWriter::write(uint8_t byte) -> Res } } this->buffer[this->occupied] = byte; + this->occupied += 1; return Unit {}; }