title: Basics of file formats
body: <p>I know that it might sound silly but, while working on project at some time I feel the need of knowing the very basics of file formats. </p>
  
  <p>I know every thing is stored in binary 1-0 in hard disk and can get an input stream of that. </p>
  
  <p>But now what if </p>
  
  <ol>
  <li>I don't know the format of file now how to decide it by input stream</li>
  <li>I know its format now what part of the input stream represent different portions of file
  for eg. take a jpeg file that red background now what part of stream represent this information.</li>
  </ol>
  
  <p>I need urgent help(any type links to blog e-books) will be highly appreciable.</p>
  
  <p>Thank you</p>