def hex_str_to_bytes(s_in: str) -> bytes:
    """Used to convert a string from CLI to a bytearray object.

    .. warning:: This function assumes that the string consists of only
        hexadecimal characters.
    """
    return bytes([int(i, 16) for i in s_in.split()])