dungba88 commented on PR #12824: URL: https://github.com/apache/lucene/pull/12824#issuecomment-1817799206
> Wouldn't an OutputStreamDataOutput backed by a ByteArrayOutputStream work the same way That's true. However there are some operations like writing to another DataOutput or changing the position is not easily supported by OutputStreamDataOutput. If it doesn't seem to be useful I guess I will just leave it as package-private and only used for the FST case. -- 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