def METHOD_NAME(self, data, ttFont):
    dummy, rest = sstruct.unpack2(headFormat, data, self)
    if rest:
        # this is quite illegal, but there seem to be fonts out there that do this
        log.warning("extra bytes at the end of 'head' table")
        assert rest == b"\0\0"
    # For timestamp fields, ignore the top four bytes.  Some fonts have
    # bogus values there.  Since till 2038 those bytes only can be zero,
    # ignore them.
    #
    # https://github.com/fonttools/fonttools/issues/99#issuecomment-66776810
    for stamp in "created", "modified":
        value = getattr(self, stamp)
        if value > 0xFFFFFFFF:
            log.warning("'%s' timestamp out of range; ignoring top bytes", stamp)
            value &= 0xFFFFFFFF
            setattr(self, stamp, value)
        if value < 0x7C259DC0:  # January 1, 1970 00:00:00
            log.warning(
                "'%s' timestamp seems very low; regarding as unix timestamp", stamp
            )
            value += 0x7C259DC0
            setattr(self, stamp, value)