aaron-ai commented on issue #5342:
URL: https://github.com/apache/rocketmq/issues/5342#issuecomment-1281813973

   @MumfordSons Thanks for your feedback! Actually message body in 
`messageView` is readonly, which means you could not get `byte[]` from 
`bytebuffer` directly because `byte[]` here is the underlying reference and it 
is not read only.
   
   Just copy `byte[]` from `bytebuffer` If you still need to get `byte[]` from 
readonly bytebuffer. By the way, creating issues from 
[rocketmq-clients](https://github.com/apache/rocketmq-clients) could help it to 
attract more attention. 😊


-- 
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: dev-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to