getID3Data = function getID3Data(data, offset) {
  var front = offset;
  var length = 0;

  while (isHeader(data, offset)) {
    // ID3 header is 10 bytes
    length += 10;
    var size = readSize(data, offset + 6);
    length += size;

    if (isFooter(data, offset + 10)) {
      // ID3 footer is 10 bytes
      length += 10;
    }

    offset += length;
  }

  if (length > 0) {
    return data.subarray(front, front + length);
  }

  return undefined;
}
Returns any adjacent ID3 tags found in data starting at offset, as one block of data
@param {Uint8Array} data - The data to search in
@param {number} offset - The offset at which to start searching
@return {Uint8Array | undefined} - The block of data containing any ID3 tags found
or *undefined* if no header is found at the starting offset