I had some doubt on the way flatBuffers files are written.
We create a builder object and use the apis in the schema generated interface to read /write fields in flatBuffers.
Are we doing this operations directly in file? (i.e. Multiple I/O operations?) Or we are doing this in a temperory DOM created from file.
In case we are doing it in DOM then please explain if there is a way to have a SAX like implementation as my data file is going to be huge.
And if we are doing it directly in file then please explain how can I add an external compress/ decompress to this data file.
An example to show the point where we actually do an I/O with flatBuffers builder will be really helpful.