def METHOD_NAME(string: str) -> int:
    num = int(string, 0)
    if not four_byte_aligned(num):
        raise argparse.ArgumentTypeError('Chunk size should be a 4-byte aligned number')
    return num