VictoriaMetrics / easyproto

Simple building blocks for protobuf marshaling and unmarshaling
Apache License 2.0
141 stars 2 forks source link

added ability to append raw message #2

Open AndrewChubatiuk opened 5 months ago

AndrewChubatiuk commented 5 months ago

Added AppendRaw function to be able to add already encoded to protobuf message to message marshaler Needed for https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5855

fyfyrchik commented 3 months ago

This looks very useful, e.g. when you need to send the same message to multiple places: in our code we cache marshaled data in a private field and then would like to reuse. Is it reasonable to expect this being merged in the near future?

AndrewChubatiuk commented 3 months ago

@valyala we need your feedback