You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It turns out that the serialized protobuf contains a lot of '\0', which obviously would mess up your C-string.
(To confirm, you can verify using your-cxx-string.size() with std::strlen(your-c-string))
The following code would then circumvent this situation...
Greetings,
We attempt to do the following:
However, this throws an exception:
"buffer underflow
.What is the best way to achieve this?
Humbly thank everyone in advance!
C:
Rust:
The text was updated successfully, but these errors were encountered: