evbuffer_drain

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.

extern (C) nothrow
int
evbuffer_drain
(,
size_t len
)

Meta