added buffer_append_str(), buffer_append_str_ts()