Jump to content

How do file formats work?

Featured Replies

How do file formats work and how do you create new file formats?

 

I couldn't find books which discuss file formats. There are many books on computer architecture/organization, data structures, compilers etc but I couldn't find any books which teach the basics of file formats and how to create file formats.

 

So if anyone could recommend any, this would be highly appreciated.

Edited by Uri

http://en.wikipedia.org/wiki/File_formats

 

What you do is you write a specification, so you write a document that tells others (and reminds you) what the data in the file means. And then you decide to call it a .uri and then whenever you write a .uri file you can use your original document to understand what it means. If other people adopt the same file format and also call it a .uri then you have created a convention which people stick to... There's not much more to it than that.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.