Converts this `AbiBuffer ` back into a `Vec ` This commit consumes this buffer and yields back unwritten values as a `Vec `. The remaining items in `Vec ` have not yet been written and all written items have been removed from the front of the list. Note that the backing storage of the returned `Vec ` has not changed from whe this buffer was created. Also note that this can be an expen
(mut self)
| 111 | /// occurred as this will involve shifting items from the end of the vector |
| 112 | /// to the start of the vector. |
| 113 | pub fn into_vec(mut self) -> Vec<O::Payload> { |
| 114 | self.take_vec() |
| 115 | } |
| 116 | |
| 117 | /// Returns the number of items remaining in this buffer. |
| 118 | pub fn remaining(&self) -> usize { |