[ https://issues.apache.org/jira/browse/THRIFT-947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922732#action_12922732 ]
Mathias Herberts commented on THRIFT-947: ----------------------------------------- The unit tests actually make sure that the guessProtocolFactory method applies the correct heuristic, it uses custom filled byte[] for that purpose and not serialized objects as the number of objects to define would be too important. If someone has a better idea for testing this s/he's more than welcome to contribute. > Provide a helper method to determine the TProtocol used to serialize some > data. > ------------------------------------------------------------------------------- > > Key: THRIFT-947 > URL: https://issues.apache.org/jira/browse/THRIFT-947 > Project: Thrift > Issue Type: New Feature > Components: Java - Library > Reporter: Mathias Herberts > Priority: Minor > Attachments: THRIFT-947-1, THRIFT-947-2, THRIFT-947-3 > > > In order to deserialize thrift structures previously serialized, you > currently need to know the TProtocol used for serialization. > The proposed new feature offers a method which applies a heuristic to > determine the TProtocol used from the serialized data. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.