

def from_user(self, i):
    bin = b''
    for x in range(self.size):
        bin = (six.int2byte((i & 255)) + bin)
        i //= 256
    return bin

dataset/ETHPy150Open osrg/ryu/ryu/lib/type_desc.py IntDescr.from_user/original