def string_block_size(string):
    # number of bytes required for string, aligned to word size
    return int(math.ceil(len(string) / float(WSIZE)) * WSIZE)
dataset/ETHPy150Open thiago-silva/memetalk/sugarfoot/pyutils/bits.py/string_block_size/original