BTW, I did consider reserve/commit space API, but, thought they might be an overkill. I prefer peeking the byte location and modifying it.
How can I modify a byte or two directly in evbuffer data?