title: instead of file pointer, we want to write fseek with buffer pointer
body: <p>In an application, I need to replace <code>fseek</code>. the file pointer is passed to <code>fseek</code> but we need to pass buffer pointer. I want to shift buffer pointer by an offset. </p>
  
  <p>Can anybody suggest me how could I do that or send me sample code. </p>
  
  <pre><code>fseek_buff(uint8 * buff, int offset, int SEEK_SET);
  </code></pre>
  
  <p>PS: I need <code>SEEK_SET</code> always as whence.</p>