the buffer does not have as much data as you asked to see).
@param buffer the evbuffer to peek into,
- @param len the number of bytes to try to peek. If negative, we
- will try to fill as much of vec_out as we can.
+ @param len the number of bytes to try to peek. If len is negative, we
+ will try to fill as much of vec_out as we can. If len is negative
+ and vec_out is not provided, we return the number of evbuffer_iovecs
+ that would be needed to get all the data in the buffer.
@param start_at an evbuffer_ptr indicating the point at which we
should start looking for data. NULL means, "At the start of the
buffer."