-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
TagWriterImpl creates additional Encoder instances based on a byte array for message types. We should be able to add a new method to the API to allow for reusing the same underlying encoder avoiding additional allocations.
To do this some implementations may need to encode a varint as a fixed varint of size 5 to allow for write back calls once a size has been computed. The additional bytes per Message may be worthwhile though, will test to ensure.