def full_pipe_address(addr):
    """Return the full address of the pipe `addr`"""
    if not isinstance(addr, bytes):
        addr = addr.encode("ascii")
    if addr.startswith(b"\\\\"):
        return addr
    return br"\\.\pipe" + "\\".encode() + addr