Remove a specified number of bytes data from the beginning of an evbuffer.
@param buf the evbuffer to be drained @param len the number of bytes to drain from the beginning of the buffer @return 0 on success, -1 on failure.
See Implementation
Remove a specified number of bytes data from the beginning of an evbuffer.
@param buf the evbuffer to be drained @param len the number of bytes to drain from the beginning of the buffer @return 0 on success, -1 on failure.