CPP serialize always return empty string and cached size is 0 but i can get data

77 views
Skip to first unread message

Thomas Colin

unread,
Oct 8, 2021, 5:49:35 AM10/8/21
to Protocol Buffers
Hello I've got some troubles because when I build a message and try to serialize it, the func serializeToString return true but the string is empty and if I get the mutables values of my message it gives me the good values some ideas ? btw i'm using protobuf 3.15.8

Thomas Colin

unread,
Oct 8, 2021, 6:04:12 AM10/8/21
to Protocol Buffers

here are some screenshots
code : 
Untitled.png
breakpoint info :
Untitled3.png
Untitled2.png
Reply all
Reply to author
Forward
0 new messages