

def to_user(self, bin):
    i = 0
    for x in range(self.size):
        c = bin[:1]
        i = ((i * 256) + ord(c))
        bin = bin[1:]
    return i

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