def METHOD_NAME(newdata):
    eof = ef._eof
    update_crc_orig(newdata)
    running_hash.update(newdata)
    if eof and running_hash.digest() != expected_hash:
        raise WheelError(f"Hash mismatch for file '{ef_name}'")