@classmethod
def escape_argument(cls, arg: bytes) ->bytes:
    """Escape special bytes in an argument"""
    if arg == b'':
        return b'\\@'
    else:
        return cls._ESCAPE_RE.sub(cls._escape_match, arg)
