def randomByteString(len):
    ll = int(len / 8 + int(len % 8 > 0))
    return b''.join([struct.pack("!Q", random.getrandbits(64)) for _ in xrange(0, ll)])[:len]
Called when a transfer has finished.
dataset/ETHPy150Open crossbario/autobahn-python/examples/twisted/websocket/streaming/ranstring.py/randomByteString--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/masterd/instance.py/_TransferInstDestCb.ReportFinished