Move most StreamBuffer code into base-buffer.hpp

This commit is contained in:
2023-10-18 17:23:05 -04:00
parent 6c2a27b274
commit 049b0b893a
10 changed files with 822 additions and 808 deletions

View File

@@ -116,7 +116,7 @@ public:
}
uint8_t b = sb_->read_uint8();
deserialize_r(b, val);
} catch (const StreamEof &e) {
} catch (const StreamException &e) {
error_ = "EOF reached while deserializing data";
lua_settop(LS_.state(), top);
LS_.set(val, LuaNil);