This unfortunately requires a new method to be added to BufferList to support truncating the buffer to a particular iterator. Differential Revision: https://phabricator.services.mozilla.com/D116666