private int stripMultipartHeaders(byte[] b,int offset){
  int i=0;
  for (i=offset; i < b.length; i++) {
    if (b[i] == '\r' && b[++i] == '\n' && b[++i] == '\r' && b[++i] == '\n')     break;
  }
  return i + 1;
}

private int stripMultipartHeaders ( byte [ ] b , int offset ) { int i = 0 ; for ( i = offset ; i < b . length ; i ++ ) { if ( b [ i ] == '\r' && b [ ++ i ] == '\n' && b [ ++ i ] == '\r' && b [ ++ i ] == '\n' ) break ; } return i + 1 ; }
it returns the offset separating multipart file headers from the file ' s data .
