jackjlli commented on issue #4127: Declare byte array size when initializing 
ByteArrayOutputStream
URL: https://github.com/apache/incubator-pinot/pull/4127#issuecomment-483956889
 
 
   @Jackie-Jiang The byte array `buf` is encapsulated in 
`byteArrayOutputStream` and cannot directly be accessed though. Plus, 
`ByteBuffer.wrap()` only returns byte buffer, which isn't what we want to 
return in the end.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to