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
How to fix the error below when I call mutator.Mutate(&message, 4096);
[libprotobuf ERROR google/protobuf/wire_format_lite.cc:577] String field 'xxxxx' contains invalid UTF-8 data when serializing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
The text was updated successfully, but these errors were encountered:
I guess documentation is misleading https://github.com/google/libprotobuf-mutator#usage
Direct use of protobuf_mutator::Mutator needs some additional work. Optionally is incorrect. Default implementations of "Mutate" is just good enough for unittests, e.g. it does not preserve UTF8 correctness.
How to fix the error below when I call mutator.Mutate(&message, 4096);
[libprotobuf ERROR google/protobuf/wire_format_lite.cc:577] String field 'xxxxx' contains invalid UTF-8 data when serializing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
The text was updated successfully, but these errors were encountered: