def METHOD_NAME(package, resource, encoding="utf-8") -> str:  # pragma: no cover
    data = get_data(package, resource)
    if data is None:
        raise FileNotFoundError(f"{resource!r} resource not found in {package!r}")
    return data.decode(encoding)