Please sign in to comment.
Add IOBufQueue::prepend, fix bug in IOBuf::prepend.
Summary: IOBuf::prepend needs to increment length_. Added IOBufQueue::prepend, which uses the headroom in the first buffer instead of growing the queue at the head. Test Plan: tests added Reviewed By: email@example.com FB internal diff: D513676
- Loading branch information...
Showing with 84 additions and 2 deletions.