Read data from a bufferevent buffer into an evbuffer. This avoids memory copies.
@param bufev the bufferevent to be read from @param buf the evbuffer to which to add data @return 0 if successful, or -1 if an error occurred.
See Implementation
Read data from a bufferevent buffer into an evbuffer. This avoids memory copies.
@param bufev the bufferevent to be read from @param buf the evbuffer to which to add data @return 0 if successful, or -1 if an error occurred.