import pkgutil


def get_binary_resource(path):

    """
    Fetch a resource binary file.

    Args:
        path (str): The path of the resource relative to this package.
    Returns:
        str: The resource as a binary string.
    """

    return pkgutil.get_data(__name__, path)