mirror of
https://github.com/facebookincubator/mvfst.git
synced 2026-01-06 03:41:10 +03:00
Summary: Get rid of IObufQueue usage in the PacketBuilder and replace it with a vanilla IOBuf. This requires replacing QueueAppender with something else as well, so this diff adds a new class call BufAppender which does exactly the same things as a QueueAppender. Having a BufAppender will allow us to avoid cloning the stream buffer in the future and avoid a clone during the write path. Reviewed By: mjoras Differential Revision: D18673517 fbshipit-source-id: 31fd7758688686371d038111514eb62d6b21672c
23 KiB
23 KiB