code: function getDirEntries(ifdHex) {
          var entries = [],
              offset = 0;
  
          while (offset + 24 <= ifdHex.length) {
              entries.push(ifdHex.slice(offset, offset + 24));
              offset += 24;
          }
  
          return entries;
      }
docs: Obtain an array of all directory entries (as hex strings) in the EXIF header.