]
Ryan Emerson reassigned IPROTO-89:
----------------------------------
Assignee: Adrian Nistor
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: Adrian Nistor
Priority: Major
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}}