RapperCL opened a new issue, #7366: URL: https://github.com/apache/rocketmq/issues/7366
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary 1. Judgment optimization It is better to compare the length of the remark and extInfo with the current remaining readable length rather than directly with the length of the header.  2 Parameter Naming Optimization This should not be named headerBuffer, as the byteBuffer passed in here also contains body data.  ### Motivation By comparison, it can be more accurate and early to determine whether the data in byteBuffer is normal ### Describe the Solution You'd Like It is better to compare the length of the remark and extInfo with the current remaining readable length rather than directly with the length of the header. ### Describe Alternatives You've Considered It is better to compare the length of the remark and extInfo with the current remaining readable length rather than directly with the length of the header. ### Additional Context _No response_ -- 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]
