tafia / quick-protobuf

A rust implementation of protobuf parser
MIT License
446 stars 82 forks source link

The bytes generated by calling serialize_into_slice under no_std are one bit more than the bytes generated by serializing under js and go #185

Closed malefooo closed 3 years ago

malefooo commented 3 years ago

image The bytes generated by calling serialize_into_slice under no_std are one bit more than the bytes generated by serializing under js and go,Moreover, it seems that the longer the message, the more digits increase in the head. @nerdrew my serialize code image

valnesfjord commented 1 week ago

same problem, but for serialize_into_vec, how to fix?