evbuffer_add_buffer

Move all data from one evbuffer into another evbuffer.

This is a destructive add. The data from one buffer moves into the other buffer. However, no unnecessary memory copies occur.

@param outbuf the output buffer @param inbuf the input buffer @return 0 if successful, or -1 if an error occurred

@see evbuffer_remove_buffer()

extern (C) nothrow
int
evbuffer_add_buffer

Meta