[tor-commits] [tor/master] Add buf_t API helpers for using buffers to construct outputs.