]
Nistor Adrian updated IPROTO-89:
--------------------------------
Fix Version/s: 4.3.1.Final
(was: 4.3.0.Final)
Provide means to calculate serialised message size
--------------------------------------------------
Key: IPROTO-89
URL:
https://issues.jboss.org/browse/IPROTO-89
Project: Infinispan ProtoStream
Issue Type: Enhancement
Affects Versions: 4.2.2.Final
Reporter: Ryan Emerson
Assignee: Nistor Adrian
Priority: Major
Fix For: 4.3.0.Alpha14, 4.3.1.Final
In order to be able to better estimate the size of output buffers etc, it would be useful
to provide a means for a user application to retrieved the anticipated size of a
serialized message from an object's current state. For example, in the protobuf-java
library this is exposed via {{com.google.protobuf.MessageLite#getSerializedSize}}