By "header and footer", do you mean the bytes at the beginning and end? Google gives lots of hits, but I could not immediately find the format details. (Being open-source, it's out there somewhere)
Why not just look at a file? Like so:
cat filename.flac | hexdump -C | more
To go right to the end of the file, take out the "more".
|