serialize id with VarInt
This commit is contained in:
@@ -117,7 +117,7 @@ template <typename TBase>
|
||||
class MessageInterfaceWriteIdBase : public TBase {
|
||||
public:
|
||||
void Write(DataBuffer& buffer) const {
|
||||
this->WriteData(this->GetId(), buffer);
|
||||
buffer << VarInt{this->GetId()};
|
||||
this->WriteImpl(buffer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user