function parseExifIFD(
    data,
    tagCode,
    dataView,
    tiffOffset,
    littleEndian,
    includeTags,
    excludeTags
  ) {
    var dirOffset = data.exif[tagCode]
    if (dirOffset) {
      data.exif[tagCode] = new ExifMap(tagCode)
      if (data.exifOffsets) {
        data.exifOffsets[tagCode] = new ExifMap(tagCode)
      }
      parseExifTags(
        dataView,
        tiffOffset,
        tiffOffset + dirOffset,
        littleEndian,
        data.exif[tagCode],
        data.exifOffsets && data.exifOffsets[tagCode],
        includeTags && includeTags[tagCode],
        excludeTags && excludeTags[tagCode]
      )
    }
  }
Parses tags in a given IFD (Image File Directory).

@param {object} data Data object to store exif tags and offsets
@param {number|string} tagCode IFD tag code
@param {DataView} dataView Data view interface
@param {number} tiffOffset TIFF offset
@param {boolean} littleEndian Little endian encoding
@param {object} includeTags Map of tags to include
@param {object} excludeTags Map of tags to exclude