captainzmc commented on pull request #2495:
URL: https://github.com/apache/ozone/pull/2495#issuecomment-894618954


   > BlockDataStreamOutput and the other new classes are internal classes. They 
are not user facing classes. Users will use OzoneOutputStream. If a byte[] is 
passed from a user, say via OzoneOutputStream.write(byte[]), we may wrap the 
array to a ByteBuffer internally.
   > 
   > BTW, we should add ByteBuffer methods to OzoneOutputStream later. 
   
   Thanks @szetszwo,I get you point. Yes, we can wrap byte[] to ByteBuffer in 
OzoneOutputStream. The BlockDataStreamOutput does not need to extends 
OutputStream.
   


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

Reply via email to