dungba88 commented on PR #12824:
URL: https://github.com/apache/lucene/pull/12824#issuecomment-1817866406

   Thanks, I think that would means we either subclass ByteArrayOutputStream or 
use a byte[] and do the grow ourselves. But most of the functionality in BAOS 
is private (such as grow and ensureCapacity), at least with JDK11. So I guess 
using a simple byte[] would be more convenient? These growth functionality is 
needed when changing the position (skipBytes in the legacy BytesStore)


-- 
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: issues-unsubscr...@lucene.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to