Don't we need `int(data_len)` here?