szetszwo commented on pull request #3195:
URL: https://github.com/apache/ozone/pull/3195#issuecomment-1068957836


   @guohao-rosicky , the idea is to write the proto length at the end as shown 
below; see also 
https://issues.apache.org/jira/secure/attachment/13041230/3195_review.patch
   ```
       //   readerIndex   protoIndex   lengthIndex    readerIndex+readableBytes
       //         V            V             V                              V
       // format: |--- data ---|--- proto ---|--- proto length (4 bytes) ---|
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to