def byte_size(number):
    quanta, mod = divmod(bit_size(number), 8)
    if mod or number == 0:
        quanta += 1
    return quanta
    #return int(math.ceil(bit_size(number) / 8.0))
Returns the number of bytes required to hold a specific long number.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/rsa/common.py/byte_size