def int2byte(i):
    return chr(i) if PY2 else bytes((i,))
Request a role swap with the connected peer.
dataset/ETHPy150Open maebert/jrnl/jrnl/util.py/int2byte--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/sub_collab/peer/basic.py/BasicPeer.swapRole