Drop out_len, do pointer arithmetic instead