szetszwo commented on PR #5376: URL: https://github.com/apache/ozone/pull/5376#issuecomment-1743519164
Proto 3 support wrapping a `ByteBuffer` to a `ByteString` but proto 2 does not. We may be able to copy the proto 3 wrapper code to proto 2. Then, the conversion can be done by ```java ByteString proto2 = wrap(proto3byteString.asReadOnlyByteBuffer()); ``` Let me try it in a separated JIRA. -- 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]
