Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is there any reference/resource about how to design the structure of a data file? [duplicate]

Possible Duplicate:
What are important points when designing a (binary) file format?

I am going to develop a program which will store data in file.

The file can be big. The data in the file is basically made up with variable length records. And I need random access to the records.

I just want to read some resouces/books about how to design the structure of a data file. But I can't find any yet.

Any suggestion is much appreciated.

like image 677
limi Avatar asked Jan 03 '13 08:01

limi


1 Answers

You might find http://decoy.iki.fi/texts/filefd/filefd useful. It's a general starting point to the techniques to consider.

Also look at this question here on SO: What are important points when designing a (binary) file format?

like image 131
Philipp Avatar answered Oct 28 '22 18:10

Philipp