Hi,
I would like to build a ChunkedArray but I need to limit the maximum
size of each buffer (somewhere in the low MB's). Ending the current
chunk and starting a new one is straightforward, but I'm having some
difficulty detecting when the current buffer(s) are close to getting
full. If I had the Builders I could check the length() as they are going
along, but I'm not sure how I can get access to those as ChunkedArray is
being built via the API.
The size control doesn't have to be precise in my case; it just needs to
be conservative as a limit (i.e. the builder cannot go over X MB)
Any advice would be appreciated.
Thanks,
-Eric