dweiss commented on PR #12824: URL: https://github.com/apache/lucene/pull/12824#issuecomment-1817860779
> That's true. However there are some operations like writing to another DataOutput or changing the position is not easily supported by OutputStreamDataOutput. You can do both if you pass a subclass of ByteArrayOutputStream that has access to the underlying byte[] and count (they're protected fields). -- 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