ifplusor commented on issue #351:
URL: 
https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813992345


   You can use this snap to test the data.
   ```
   int main() {
     std::string data = "";
   
     auto byte_buffer = ByteBuffer::allocate(data.length() / 2);
     UtilAll::string2bytes(byte_buffer->array(), data);
   
     auto messages = MessageDecoder::decodes(*byte_buffer);
     for (auto& msg : messages) {
       std::cout << msg->msg_id() << std::endl;
     }
   
     return 0;
   }
   ```


-- 
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]


Reply via email to