android - File format considerations: tree structure with text and binary data -


We are currently writing an app for mobile platforms that is going to use a very sophisticated data structure.

The data structure is organized into a tree structure and should include both data and text. Of course, XML is a great option to store organized data in a tree structure. Our problem is that we need blobs of raw data (some MBs in size) to be written in the file. While using XML, Blobs has to be encoded in Base 64 or similar, which will greatly increase the file size ...

In this way, we consider making our own binary format. We do not have any experience in designing file formats and we have a hard time getting how to get a tree structure and variable length data block in a self-design file format.

We need it to run on iOS and Android

Thanks in advance!

Does anyone have to do this or what to use for it?


Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -