Why are we passing an offset to the buffer_len argument here?