ifplusor commented on issue #351:
URL:
https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814737157
> @ifplusor
> I looked at the java sdk, they are trying the whole process, when the data
is wrong, they directly catch it and then
>
> ```
> catch (Exception e) {
> byteBuffer.position(byteBuffer.limit());
> }
> ```
I have pushed a patch for this case.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]