easy way is to get a hex editor and look for the start of the raw and deduct than from the lenghth of the file or use a tool like exiftool and use the "strip byte counts" figure for the value of len. The first three lines are always blank on the nx100 so I skipped those for my value just in case anyone asks.