Internally test functions consume bytes from the data stream and move it into the temp_buffer.