This will break `read_data`, which expect to modify a given buffer since it doesn't return a buffer. In this case, your approach here will not work.