.Blend format composition

I need to now how Blender storages information inside the .blend, because i’m trying to import the into a program i’m making. Any help is welcome.

The Blend format is not documented yet.

Martin